]> granicus.if.org Git - curl/commitdiff
infilesize must be a long to work on 64bit archs
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Aug 2003 13:20:58 +0000 (13:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Aug 2003 13:20:58 +0000 (13:20 +0000)
src/main.c

index a611818042175f0f6a37e4999ddcd11005f7fbe4..ff67810f00d8a3b2b8e9445e94690515ffd1d4c3 100644 (file)
@@ -2469,7 +2469,7 @@ operate(struct Configurable *config, int argc, char *argv[])
   FILE *infd = stdin;
   FILE *headerfilep = NULL;
   char *urlbuffer=NULL;
-  int infilesize=-1; /* -1 means unknown */
+  long infilesize=-1; /* -1 means unknown */
   bool stillflags=TRUE;
 
   bool allocuseragent=FALSE;