mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
fix compiler warning
This commit is contained in:
parent
6e461e45c3
commit
048438345a
14 changed files with 111 additions and 16 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue