diff options
Diffstat (limited to 'tests/server/rtspd.c')
-rw-r--r-- | tests/server/rtspd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c index 9fd5d3418..4c5e6a107 100644 --- a/tests/server/rtspd.c +++ b/tests/server/rtspd.c @@ -59,6 +59,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" @@ -1234,7 +1235,7 @@ int main(int argc, char *argv[]) argv[arg]); return 0; } - port = (unsigned short)(ulnum & 0xFFFFUL); + port = Curl_ultous(ulnum); arg++; } } |