git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb6948
)
s3:nmbd: Fix size type in nmbd_browsesync.c
author
Andreas Schneider
<asn@samba.org>
Thu, 7 Dec 2017 18:47:50 +0000
(19:47 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 20 Mar 2018 22:16:16 +0000
(23:16 +0100)
This fixes compilation with -Wstrict-overflow=2
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/nmbd/nmbd_browsesync.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_browsesync.c
b/source3/nmbd/nmbd_browsesync.c
index b1517f89c9f27a6941e4cef43cc981fff8caee01..6f90e613478cdb00121fbcc3f04298d6cbe2b154 100644
(file)
--- 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;
-
in
t count=0;
+
size_
t count=0;
/* Only do this if we are using a WINS server. */
if(we_are_a_wins_client() == False)