/pidgin/main: 2f76e3b8732a: Fix a casting warning

Ankit Vani a at nevitus.org
Thu Feb 6 16:57:55 EST 2014


Changeset: 2f76e3b8732ab9b63db744ff076b0ee928bae0d7
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-02-07 03:27 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/2f76e3b8732a

Description:

Fix a casting warning

diffstat:

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

diffs (14 lines):

diff --git a/libpurple/protocols/gg/purplew.c b/libpurple/protocols/gg/purplew.c
--- a/libpurple/protocols/gg/purplew.c
+++ b/libpurple/protocols/gg/purplew.c
@@ -39,8 +39,8 @@ guint ggp_purplew_http_input_add(struct 
 {
 	if (purple_debug_is_verbose()) {
 		purple_debug_misc("gg", "ggp_purplew_http_input_add: "
-			"[req=%x, fd=%d, cond=%d]\n",
-			(unsigned int)http_req, http_req->fd, http_req->check);
+			"[req=%p, fd=%d, cond=%d]\n",
+			http_req, http_req->fd, http_req->check);
 	}
 	return purple_input_add(http_req->fd,
 		ggp_tcpsocket_inputcond_gg_to_purple(http_req->check),



More information about the Commits mailing list