aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-31 09:49:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-31 09:49:10 +0000
commit00d2c9d92d093dd7e619bfb3818be358b67fb8c0 (patch)
treecbc644a3a82efaa26acf83ced6943fa3b5bf74d0
parentbd383f0c606347132fc8199a2693d6b71bd5f37e (diff)
removed compiler warnings from my latest fix
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index f8893c169..92fbd6d54 100644
--- a/src/main.c
+++ b/src/main.c
@@ -500,7 +500,7 @@ struct Configurable {
bool resume_from_current;
bool disable_epsv;
bool disable_eprt;
- int resume_from;
+ long resume_from;
char *postfields;
long postfieldsize;
char *referer;
@@ -513,8 +513,8 @@ struct Configurable {
char *iface;
unsigned short porttouse;
char *range;
- int low_speed_limit;
- int low_speed_time;
+ long low_speed_limit;
+ long low_speed_time;
bool showerror;
char *userpwd;
char *proxyuserpwd;
@@ -1060,7 +1060,7 @@ static void cleanarg(char *str)
* The string must start with a digit to be valid.
*/
-static int str2num(int *val, char *str)
+static int str2num(long *val, char *str)
{
int retcode = 0;
if(isdigit((int)*str))