From c6b5297b406312a7944c11917a8d5c8235f72673 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 7 Dec 2017 19:47:50 +0100 Subject: [PATCH] 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 --- source3/nmbd/nmbd_browsesync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1