fix compiler warning

This commit is contained in:
Yang Tse 2010-02-19 18:02:38 +00:00
parent 6e461e45c3
commit 048438345a
14 changed files with 111 additions and 16 deletions

View file

@ -97,6 +97,7 @@
#include "curlx.h" /* from the private lib dir */
#include "getpart.h"
#include "util.h"
#include "warnless.h"
/* include memdebug.h last */
#include "memdebug.h"
@ -716,7 +717,7 @@ int main(int argc, char **argv)
argv[arg]);
return 0;
}
port = (unsigned short)(ulnum & 0xFFFFUL);
port = Curl_ultous(ulnum);
arg++;
}
}