[master] 72bb92f03 signedness improvements

Nils Goroll nils.goroll at uplex.de
Wed Jun 10 07:06:07 UTC 2020


commit 72bb92f03f64282be653815001558283fbe59770
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Jun 10 08:59:26 2020 +0200

    signedness improvements
    
    from flexelint review

diff --git a/lib/libvmod_directors/shard_dir.h b/lib/libvmod_directors/shard_dir.h
index 3ad305180..3de949943 100644
--- a/lib/libvmod_directors/shard_dir.h
+++ b/lib/libvmod_directors/shard_dir.h
@@ -59,8 +59,8 @@ struct sharddir {
 
 	pthread_rwlock_t			mtx;
 
-	int					n_backend;
-	int					l_backend;
+	unsigned				n_backend;
+	unsigned				l_backend;
 	struct shard_backend			*backend;
 
 	const char				*name;


More information about the varnish-commit mailing list