[empathy/gnome-2-30] empathy_string_replace_escaped: use gsize instead of gssize



commit 41bdadd46ce3ce29bc25b9719e523dcab353f062
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jun 9 16:42:21 2010 +0200

    empathy_string_replace_escaped: use gsize instead of gssize
    
    Avoid signed/unsigned comparaison in the for loop.

 libempathy-gtk/empathy-string-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-string-parser.c b/libempathy-gtk/empathy-string-parser.c
index d25c9cc..057f543 100644
--- a/libempathy-gtk/empathy-string-parser.c
+++ b/libempathy-gtk/empathy-string-parser.c
@@ -186,7 +186,7 @@ empathy_string_replace_escaped (const gchar *text,
 	GString *string = user_data;
 	gchar *escaped;
 	guint i;
-	gssize escaped_len, old_len;
+	gsize escaped_len, old_len;
 
 	escaped = g_markup_escape_text (text, len);
 	escaped_len = strlen (escaped);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]