eb8e82
From e3f38eb6b18f4bf0272e4a88b57e9d7af545bd7c Mon Sep 17 00:00:00 2001
eb8e82
From: Tomasz Wasilczyk <twasilczyk@pidgin.im>
eb8e82
Date: Mon, 3 Feb 2014 04:41:24 +0100
eb8e82
Subject: [PATCH] Try to fix a signed/unsigned warning
eb8e82
eb8e82
---
eb8e82
 libpurple/protocols/jabber/auth_cyrus.c | 2 +-
eb8e82
 1 file changed, 1 insertion(+), 1 deletion(-)
eb8e82
eb8e82
diff --git a/libpurple/protocols/jabber/auth_cyrus.c b/libpurple/protocols/jabber/auth_cyrus.c
eb8e82
index 0c4278c656f0..2c4d4ba54e24 100644
eb8e82
--- a/libpurple/protocols/jabber/auth_cyrus.c
eb8e82
+++ b/libpurple/protocols/jabber/auth_cyrus.c
eb8e82
@@ -181,7 +181,7 @@ auth_no_pass_cb(PurpleConnection *gc, PurpleRequestFields *fields)
eb8e82
 static gboolean remove_current_mech(JabberStream *js) {
eb8e82
 	char *pos;
eb8e82
 	if ((pos = strstr(js->sasl_mechs->str, js->current_mech))) {
eb8e82
-		int len = strlen(js->current_mech);
eb8e82
+		size_t len = strlen(js->current_mech);
eb8e82
 		/* Clean up space that separated this Mech from the one before or after it */
eb8e82
 		if (pos > js->sasl_mechs->str && *(pos - 1) == ' ') {
eb8e82
 			/* Handle removing space before when current_mech isn't the first mech in the list */
eb8e82
-- 
eb8e82
2.9.3
eb8e82