diff src/client.c @ 74:c7df2cc65cc1 noffle

[svn] Introduce UNUSED(x) macro
author bears
date Sat, 13 May 2000 16:36:35 +0100
parents 6aa3a8eff5a9
children 1fcdced0246e
line wrap: on
line diff
--- a/src/client.c	Sat May 13 16:35:17 2000 +0100
+++ b/src/client.c	Sat May 13 16:36:35 2000 +0100
@@ -1,7 +1,7 @@
 /*
   client.c
 
-  $Id: client.c 77 2000-05-13 10:53:48Z enz $
+  $Id: client.c 80 2000-05-13 15:36:35Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -226,6 +226,8 @@
 static void
 connectAlarm( int sig )
 {
+    UNUSED( sig );
+    
     return;
 }
 
@@ -260,7 +262,7 @@
         return FALSE;
     }
     to = Cfg_connectTimeout();
-    if ( alarm( to ) != 0 )
+    if ( alarm( ( unsigned int ) to ) != 0 )
         Log_err( "client.c:connectWithTimeout: Alarm was already set." );
     r = connect( sock, servAddr, addrLen );
     alarm( 0 );