aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-07 13:20:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-07 13:20:58 +0000
commit609059b6ec236714bc42484f7c38687049af267c (patch)
treea7a070eb98d79fafb1a19cb5982f48e8ed6d6d90 /src/main.c
parent6af73f417a578a09bb69329d22cac1c54bce1dfd (diff)
infilesize must be a long to work on 64bit archs
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a61181804..ff67810f0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;