From: Andreas Schneider Date: Thu, 7 Dec 2017 18:47:50 +0000 (+0100) Subject: s3:nmbd: Fix size type in nmbd_browsesync.c X-Git-Tag: talloc-2.1.12~25 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=c6b5297b406312a7944c11917a8d5c8235f72673 s3:nmbd: Fix size type in nmbd_browsesync.c This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- 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)