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

Elliott Sales de Andrade <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 3e9f76ca1f04ae4cc843dee6eb8c26ed0c5bfba2
Author:	 Elliott Sales de Andrade <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.