1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

removed compiler warnings from my latest fix

This commit is contained in:
Daniel Stenberg 2003-10-31 09:49:10 +00:00
parent bd383f0c60
commit 00d2c9d92d

View File

@ -500,7 +500,7 @@ struct Configurable {
bool resume_from_current; bool resume_from_current;
bool disable_epsv; bool disable_epsv;
bool disable_eprt; bool disable_eprt;
int resume_from; long resume_from;
char *postfields; char *postfields;
long postfieldsize; long postfieldsize;
char *referer; char *referer;
@ -513,8 +513,8 @@ struct Configurable {
char *iface; char *iface;
unsigned short porttouse; unsigned short porttouse;
char *range; char *range;
int low_speed_limit; long low_speed_limit;
int low_speed_time; long low_speed_time;
bool showerror; bool showerror;
char *userpwd; char *userpwd;
char *proxyuserpwd; char *proxyuserpwd;
@ -1060,7 +1060,7 @@ static void cleanarg(char *str)
* The string must start with a digit to be valid. * 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; int retcode = 0;
if(isdigit((int)*str)) if(isdigit((int)*str))