gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5575 - GNUnet/src/transports


From: gnunet
Subject: [GNUnet-SVN] r5575 - GNUnet/src/transports
Date: Fri, 31 Aug 2007 14:31:07 -0600 (MDT)

Author: grothoff
Date: 2007-08-31 14:31:06 -0600 (Fri, 31 Aug 2007)
New Revision: 5575

Modified:
   GNUnet/src/transports/http.c
Log:
GNUnet http transport on OS X
From: 
Heikki Lindholm <address@hidden>
  To: 
Christian Grothoff <address@hidden>
  Date: 
Today 12:26:11 pm
   
OS X gcc (4.0.1) seems to need some help with variable argument lists. 
Without specifying the real (=expected) types for arguments, it guesses 
something else, and things go south.

-- hl


Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c        2007-08-30 23:47:03 UTC (rev 5574)
+++ GNUnet/src/transports/http.c        2007-08-31 20:31:06 UTC (rev 5575)
@@ -1772,11 +1772,11 @@
                                      &acceptPolicyCallback,
                                      NULL, &accessHandlerCallback, NULL,
                                      MHD_OPTION_CONNECTION_TIMEOUT,
-                                     HTTP_TIMEOUT,
+                                     (unsigned int) HTTP_TIMEOUT,
                                      MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                                     1024 * 128,
+                                     (unsigned int) 1024 * 128,
                                      MHD_OPTION_CONNECTION_LIMIT,
-                                     128, MHD_OPTION_END);
+                                     (unsigned int) 128, MHD_OPTION_END);
     }
   if (0 != PIPE (signal_pipe))
     {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]