Fixed a compiler warning with gcc 4.3. Fixes LM-127
authorFrederic Peters <fpeters@0d.be>
Thu, 28 Aug 2008 14:40:25 +0200
changeset 494 c9bcbd4beb31
parent 492 b5e859ab61a6
child 496 76a465d81893
Fixed a compiler warning with gcc 4.3. Fixes LM-127 Patch from Frederic Peters. committer: Mikael Hallendal <micke@imendio.com>
loudmouth/lm-ssl-gnutls.c
--- a/loudmouth/lm-ssl-gnutls.c	Thu Aug 28 14:17:04 2008 +0200
+++ b/loudmouth/lm-ssl-gnutls.c	Thu Aug 28 14:40:25 2008 +0200
@@ -212,7 +212,7 @@
 				ssl->gnutls_xcred);
 
 	gnutls_transport_set_ptr (ssl->gnutls_session,
-				  (gnutls_transport_ptr_t) fd);
+				  (gnutls_transport_ptr_t)(glong) fd);
 
 	ret = gnutls_handshake (ssl->gnutls_session);