/pidgin/main: 3e9f76ca1f04: Fix warnings that only seem to appea...

Elliott Sales de Andrade qulogic at pidgin.im
Thu Nov 13 01:30:18 EST 2014


Changeset: 3e9f76ca1f04ae4cc843dee6eb8c26ed0c5bfba2
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2014-11-13 01:27 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/3e9f76ca1f04

Description:

Fix warnings that only seem to appear on Jenkins.

diffstat:

 libpurple/protocols/msn/slplink.c     |  2 +-
 libpurple/protocols/myspace/myspace.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff --git a/libpurple/protocols/msn/slplink.c b/libpurple/protocols/msn/slplink.c
--- a/libpurple/protocols/msn/slplink.c
+++ b/libpurple/protocols/msn/slplink.c
@@ -422,7 +422,7 @@ msn_slplink_send_ack(MsnSlpLink *slplink
 }
 
 static MsnSlpMessage *
-msn_slplink_message_find(MsnSlpLink *slplink, long session_id, long id)
+msn_slplink_message_find(MsnSlpLink *slplink, guint32 session_id, long id)
 {
 	GList *e;
 
diff --git a/libpurple/protocols/myspace/myspace.c b/libpurple/protocols/myspace/myspace.c
--- a/libpurple/protocols/myspace/myspace.c
+++ b/libpurple/protocols/myspace/myspace.c
@@ -1040,7 +1040,7 @@ msim_add_contact_from_server_cb(MsimSess
 	/* TODO: use 'Position' in contact_info to take into account where buddy is */
 	purple_blist_add_buddy(buddy, NULL, group, NULL /* insertion point */);
 
-	if (strtol(username, NULL, 10) == uid) {
+	if (strtoul(username, NULL, 10) == uid) {
 		/*
 		 * This user has not set their username!  Set their server
 		 * alias to their display name so that we don't see a bunch



More information about the Commits mailing list