summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-12-07 18:47:18 +0100
committerJeremy Allison <jra@samba.org>2018-03-20 23:16:15 +0100
commit75c28a264223529777f8d1f86574178805aef706 (patch)
treea8090a848fdac01925adc74cb8c596679f30b9c3 /source3/client
parent4630e06334c157639eaf6ae0858f491ca4fc1dad (diff)
downloadsamba-75c28a264223529777f8d1f86574178805aef706.tar.gz
s3:client: Fix size types
This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index ad10a5381dd..49d027ad4ac 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -5607,9 +5607,9 @@ static struct {
static int process_tok(char *tok)
{
- int i = 0, matches = 0;
- int cmd=0;
- int tok_len = strlen(tok);
+ size_t i = 0, matches = 0;
+ size_t cmd=0;
+ size_t tok_len = strlen(tok);
while (commands[i].fn != NULL) {
if (strequal(commands[i].name,tok)) {