From 87ebb195d34e3c413eea7ef38024c1be97fd5be9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 7 Dec 2017 17:03:37 +0100 Subject: [PATCH] s3:param: Fix size types This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index b1b502c117e..520d0660ccf 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1833,8 +1833,8 @@ static bool is_synonym_of(int parm1, int parm2, bool *inverse) static void show_parameter(int parmIndex) { - int enumIndex, flagIndex; - int parmIndex2; + size_t enumIndex, flagIndex; + size_t parmIndex2; bool hadFlag; bool hadSyn; bool inverse;