summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-12-07 19:47:50 +0100
committerJeremy Allison <jra@samba.org>2018-03-20 23:16:16 +0100
commitc6b5297b406312a7944c11917a8d5c8235f72673 (patch)
tree05f38c053b5ee499c04baf8d72503b53ef8eb17d /source3/nmbd
parentdfb69482c4a500a486fe8b4cb6f3841e58d00f56 (diff)
downloadsamba-c6b5297b406312a7944c11917a8d5c8235f72673.tar.gz
s3:nmbd: Fix size type in nmbd_browsesync.c
This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_browsesync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_browsesync.c b/source3/nmbd/nmbd_browsesync.c
index b1517f89c9f..6f90e613478 100644
--- a/source3/nmbd/nmbd_browsesync.c
+++ b/source3/nmbd/nmbd_browsesync.c
@@ -629,7 +629,7 @@ void sync_all_dmbs(time_t t)
{
static time_t lastrun = 0;
struct work_record *work;
- int count=0;
+ size_t count=0;
/* Only do this if we are using a WINS server. */
if(we_are_a_wins_client() == False)