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:
8a108f6
)
s3:vfs_nettalk: Fix size types
author
Andreas Schneider
<asn@samba.org>
Thu, 7 Dec 2017 17:39:07 +0000
(18:39 +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/modules/vfs_netatalk.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_netatalk.c
b/source3/modules/vfs_netatalk.c
index 206c3b690607d5c37da36a21cffd6473ca721ff2..3085cf4c7c9a4a4970fb69a1649541506d416a7d 100644
(file)
--- a/
source3/modules/vfs_netatalk.c
+++ b/
source3/modules/vfs_netatalk.c
@@
-118,7
+118,7
@@
static int atalk_unlink_file(const char *path)
static void atalk_add_to_list(name_compare_entry **list)
{
-
in
t i, count = 0;
+
size_
t i, count = 0;
name_compare_entry *new_list = 0;
name_compare_entry *cur_list = 0;