gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9626 - in GNUnet/src: applications/hostlist transports


From: gnunet
Subject: [GNUnet-SVN] r9626 - in GNUnet/src: applications/hostlist transports
Date: Sun, 22 Nov 2009 10:24:41 -0700

Author: grothoff
Date: 2009-11-22 10:24:41 -0700 (Sun, 22 Nov 2009)
New Revision: 9626

Modified:
   GNUnet/src/applications/hostlist/hostlist.c
   GNUnet/src/transports/http.c
Log:
must be size_t, not unsigned int

Modified: GNUnet/src/applications/hostlist/hostlist.c
===================================================================
--- GNUnet/src/applications/hostlist/hostlist.c 2009-11-22 14:47:31 UTC (rev 
9625)
+++ GNUnet/src/applications/hostlist/hostlist.c 2009-11-22 17:24:41 UTC (rev 
9626)
@@ -178,7 +178,7 @@
                                     MHD_OPTION_PER_IP_CONNECTION_LIMIT, 1,
                                     MHD_OPTION_CONNECTION_TIMEOUT, 16,
                                     MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                                    16 * 1024, MHD_OPTION_END);
+                                    (size_t) 16 * 1024, MHD_OPTION_END);
   if (daemon_handle == NULL)
     {
       if (stats != NULL)

Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c        2009-11-22 14:47:31 UTC (rev 9625)
+++ GNUnet/src/transports/http.c        2009-11-22 17:24:41 UTC (rev 9626)
@@ -1882,7 +1882,7 @@
                                          MHD_OPTION_CONNECTION_TIMEOUT,
                                          (unsigned int) HTTP_TIMEOUT,
                                          MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                                         (unsigned int) 1024 * 128,
+                                         (size_t) 1024 * 128,
                                          MHD_OPTION_CONNECTION_LIMIT,
                                          (unsigned int) 128,
                                          MHD_OPTION_PER_IP_CONNECTION_LIMIT,
@@ -1901,7 +1901,7 @@
                                          MHD_OPTION_CONNECTION_TIMEOUT,
                                          (unsigned int) HTTP_TIMEOUT,
                                          MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                                         (unsigned int) 1024 * 128,
+                                         (size_t) 1024 * 128,
                                          MHD_OPTION_CONNECTION_LIMIT,
                                          (unsigned int) 128,
                                          MHD_OPTION_PER_IP_CONNECTION_LIMIT,





reply via email to

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