]> git.0d.be Git - empathy.git/commitdiff
empathy_string_replace_escaped: use gsize instead of gssize
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 Jun 2010 14:42:21 +0000 (16:42 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 9 Jun 2010 14:42:23 +0000 (16:42 +0200)
Avoid signed/unsigned comparaison in the for loop.

libempathy-gtk/empathy-string-parser.c

index 52c726c698f2084c75e3dc85116ccb0091d471dc..45ae6a7202ae2a0fd4ce648f06b34b01aa09ce0e 100644 (file)
@@ -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);