Blame SOURCES/pidgin-2.10.11-Try-to-fix-a-signed-unsigned-warning.patch

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