diff options
author | rideout <rideout@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2003-12-05 15:56:46 +0000 |
---|---|---|
committer | rideout <rideout@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2003-12-05 15:56:46 +0000 |
commit | ac748e75cdd4527cb8ae617d83dbd2e5d04d307c (patch) | |
tree | b603b850d100ba268ac0fad9ee68394153e25864 | |
parent | 4cd503dc336b46748d23cfde6b816acb8b6a3cef (diff) |
Eliminate "signed and unsigned type in conditional expression" warning.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@179 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r-- | src/Sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sockets.c b/src/Sockets.c index 70eb87c..f11b12e 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -133,7 +133,7 @@ int HTTP_SetupServer(int port, int queue_size, int hunt) Util_GetHostName(hostname, 1024); - httpport = hunt ? realport : port; + httpport = hunt ? realport : (unsigned long int) port; printf("Server started on http://%s:%lu/\n", hostname, httpport); |