From d0c882434cb94f89501283149a28b47a1dd6461c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 7 Dec 2017 19:21:38 +0100 Subject: [PATCH] s3:rpcclient: Fix size types This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/rpcclient/rpcclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 4eb1e145715..b4e25e6e479 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -73,7 +73,7 @@ static char **completion_fn(const char *text, int start, int end) { #define MAX_COMPLETIONS 1000 char **matches; - int i, count=0; + size_t i, count=0; struct cmd_list *commands = cmd_list; #if 0 /* JERRY */ -- 2.11.4.GIT