/pidgin/main: f83a8282b45a: Try to fix a signed/unsigned warning

Tomasz Wasilczyk twasilczyk at pidgin.im
Sun Feb 2 22:41:31 EST 2014


Changeset: f83a8282b45abda120d07f744bd2b9c0996571d5
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-03 04:41 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/f83a8282b45a

Description:

Try to fix a signed/unsigned warning

diffstat:

 libpurple/protocols/jabber/auth_cyrus.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/jabber/auth_cyrus.c b/libpurple/protocols/jabber/auth_cyrus.c
--- a/libpurple/protocols/jabber/auth_cyrus.c
+++ b/libpurple/protocols/jabber/auth_cyrus.c
@@ -181,7 +181,7 @@ auth_no_pass_cb(PurpleConnection *gc, Pu
 static gboolean remove_current_mech(JabberStream *js) {
 	char *pos;
 	if ((pos = strstr(js->sasl_mechs->str, js->current_mech))) {
-		int len = strlen(js->current_mech);
+		size_t len = strlen(js->current_mech);
 		/* Clean up space that separated this Mech from the one before or after it */
 		if (pos > js->sasl_mechs->str && *(pos - 1) == ' ') {
 			/* Handle removing space before when current_mech isn't the first mech in the list */



More information about the Commits mailing list