From: Andreas Schneider Date: Thu, 7 Dec 2017 17:39:07 +0000 (+0100) Subject: s3:vfs_nettalk: Fix size types X-Git-Tag: talloc-2.1.12~28 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=b19a810206ce954f3f7997c7a02a294a36e17da9;p=sfrench%2Fsamba-autobuild%2F.git s3:vfs_nettalk: Fix size types This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 206c3b69060..3085cf4c7c9 100644 --- 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) { - int i, count = 0; + size_t i, count = 0; name_compare_entry *new_list = 0; name_compare_entry *cur_list = 0;