/pidgin/main: 7e15c82f7d71: Gadu-Gadu: backport upstream warning...

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed Feb 5 08:09:29 EST 2014


Changeset: 7e15c82f7d71facd6fc782f0f1387bfdb95528a6
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-05 14:09 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/7e15c82f7d71

Description:

Gadu-Gadu: backport upstream warning fix https://github.com/wojtekka/libgadu/commit/cdd0115053025f3772c83154e9b5ac181d34c91b

diffstat:

 libpurple/protocols/gg/lib/events.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/gg/lib/events.c b/libpurple/protocols/gg/lib/events.c
--- a/libpurple/protocols/gg/lib/events.c
+++ b/libpurple/protocols/gg/lib/events.c
@@ -735,7 +735,7 @@ struct gg_event *gg_watch_fd(struct gg_s
 #if defined(GG_CONFIG_HAVE_GNUTLS) || defined(GG_CONFIG_HAVE_OPENSSL)
 			if (sess->ssl != NULL) {
 #ifdef GG_CONFIG_HAVE_GNUTLS
-				gnutls_transport_set_ptr(GG_SESSION_GNUTLS(sess), (gnutls_transport_ptr_t) sess->fd);
+				gnutls_transport_set_ptr(GG_SESSION_GNUTLS(sess), (gnutls_transport_ptr_t)(long)sess->fd);
 #endif
 #ifdef GG_CONFIG_HAVE_OPENSSL
 				SSL_set_fd(sess->ssl, sess->fd);



More information about the Commits mailing list