gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9491 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r9491 - libmicrohttpd/src/testcurl/https
Date: Fri, 13 Nov 2009 05:22:38 -0700

Author: grothoff
Date: 2009-11-13 05:22:38 -0700 (Fri, 13 Nov 2009)
New Revision: 9491

Modified:
   libmicrohttpd/src/testcurl/https/tls_alert_test.c
   libmicrohttpd/src/testcurl/https/tls_cipher_change_test.c
   libmicrohttpd/src/testcurl/https/tls_extension_test.c
   libmicrohttpd/src/testcurl/https/tls_session_time_out_test.c
Log:
fix compile errors

Modified: libmicrohttpd/src/testcurl/https/tls_alert_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_alert_test.c   2009-11-13 12:18:54 UTC 
(rev 9490)
+++ libmicrohttpd/src/testcurl/https/tls_alert_test.c   2009-11-13 12:22:38 UTC 
(rev 9491)
@@ -59,7 +59,7 @@
   sa.sin_port = htons (DEAMON_TEST_PORT);
   inet_pton (AF_INET, "127.0.0.1", &sa.sin_addr);
 
-  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) sd);
+  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) 
sd);
 
   ret = connect (sd, &sa, sizeof (struct sockaddr_in));
 
@@ -114,7 +114,7 @@
   inet_pton (AF_INET, "127.0.0.1", &sa.sin_addr);
 
   MHD__gnutls_transport_set_ptr (session,
-                                 (MHD_gnutls_transport_ptr_t) ((void *) sd));
+                                 (MHD_gnutls_transport_ptr_t) ((void *) (long) 
sd));
 
   ret = connect (sd, &sa, sizeof (struct sockaddr_in));
 

Modified: libmicrohttpd/src/testcurl/https/tls_cipher_change_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_cipher_change_test.c   2009-11-13 
12:18:54 UTC (rev 9490)
+++ libmicrohttpd/src/testcurl/https/tls_cipher_change_test.c   2009-11-13 
12:22:38 UTC (rev 9491)
@@ -84,7 +84,7 @@
   sa.sin_port = htons (DEAMON_TEST_PORT);
   inet_pton (AF_INET, "127.0.0.1", &sa.sin_addr);
 
-  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) sd);
+  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) 
sd);
 
   ret = connect (sd, &sa, sizeof (struct sockaddr_in));
 

Modified: libmicrohttpd/src/testcurl/https/tls_extension_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-11-13 
12:18:54 UTC (rev 9490)
+++ libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-11-13 
12:22:38 UTC (rev 9491)
@@ -165,7 +165,7 @@
       goto cleanup;
     }
 
-  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) sd);
+  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) 
sd);
 
   if (gen_test_file_url (url, DEAMON_TEST_PORT))
     {

Modified: libmicrohttpd/src/testcurl/https/tls_session_time_out_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_session_time_out_test.c        
2009-11-13 12:18:54 UTC (rev 9490)
+++ libmicrohttpd/src/testcurl/https/tls_session_time_out_test.c        
2009-11-13 12:22:38 UTC (rev 9491)
@@ -102,7 +102,7 @@
   sa.sin_port = htons (DEAMON_TEST_PORT);
   inet_pton (AF_INET, "127.0.0.1", &sa.sin_addr);
 
-  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) sd);
+  MHD__gnutls_transport_set_ptr (session, (MHD_gnutls_transport_ptr_t) (long) 
sd);
 
   ret = connect (sd, &sa, sizeof (struct sockaddr_in));
 





reply via email to

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