From ac748e75cdd4527cb8ae617d83dbd2e5d04d307c Mon Sep 17 00:00:00 2001 From: rideout Date: Fri, 5 Dec 2003 15:56:46 +0000 Subject: 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 --- src/Sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3