mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
fix compiler warning
This commit is contained in:
parent
6e461e45c3
commit
048438345a
14 changed files with 111 additions and 16 deletions
|
|
@ -60,6 +60,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"
|
||||
|
|
@ -1138,7 +1139,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