]> granicus.if.org Git - curl/commitdiff
file: fix compiler warning
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 1 Nov 2016 19:39:13 +0000 (20:39 +0100)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 1 Nov 2016 19:40:26 +0000 (20:40 +0100)
follow-up to 46133aa5

lib/file.c

index d48adb9ebd29d54a16b6f3901278a7c450a5f92e..272289e0e871d1170e69f54a29de8c8622f70ea8 100644 (file)
@@ -190,7 +190,7 @@ static CURLcode file_connect(struct connectdata *conn, bool *done)
   struct FILEPROTO *file = data->req.protop;
   int fd;
 #ifdef DOS_FILESYSTEM
-  int i;
+  size_t i;
   char *actual_path;
 #endif
   size_t real_path_len;