diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-19 18:02:38 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-19 18:02:38 +0000 |
commit | 048438345aed2acbb044e107946a804bc2d02363 (patch) | |
tree | 5b1621c5667f12d2d83fd71e4de4c3531ed44204 /tests/server/rtspd.c | |
parent | 6e461e45c3623f53c682a7d08a2c38f096cc5b17 (diff) |
fix compiler warning
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++; } } |