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

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