aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrideout <rideout@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2003-12-05 15:56:46 +0000
committerrideout <rideout@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2003-12-05 15:56:46 +0000
commitac748e75cdd4527cb8ae617d83dbd2e5d04d307c (patch)
treeb603b850d100ba268ac0fad9ee68394153e25864 /src
parent4cd503dc336b46748d23cfde6b816acb8b6a3cef (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
Diffstat (limited to 'src')
-rw-r--r--src/Sockets.c2
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);