s3:client: Fix size types
[nivanova/samba-autobuild/.git] / source3 / client / client.c
index ad10a5381ddae06e17e7a691d6e2db4644cf07a3..49d027ad4ac4fb516bef9be435634c959ac63295 100644 (file)
@@ -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)) {