1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

infilesize must be a long to work on 64bit archs

This commit is contained in:
Daniel Stenberg 2003-08-07 13:20:58 +00:00
parent 6af73f417a
commit 609059b6ec

View 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;