]> git.0d.be Git - empathy.git/commitdiff
empathy-theme-adium.c: fix uint comparaisons
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 21 Oct 2009 16:23:42 +0000 (17:23 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 22 Oct 2009 09:43:50 +0000 (10:43 +0100)
libempathy-gtk/empathy-theme-adium.c

index 0f2288e2a5004d5903aa42a81b439a9827ab3d87..49a76c24cb04114600029fb201762c3e41b1eb13 100644 (file)
@@ -59,7 +59,7 @@ typedef struct {
 } EmpathyThemeAdiumPriv;
 
 struct _EmpathyAdiumData {
-       guint  ref_count;
+       gint  ref_count;
        gchar *path;
        gchar *basedir;
        gchar *default_avatar_filename;
@@ -235,7 +235,7 @@ theme_adium_parse_body (EmpathyThemeAdium *theme,
                        last = e;
                } while (g_match_info_next (match_info, NULL));
 
-               if (e < strlen (text)) {
+               if (e < (gint) strlen (text)) {
                        /* Append the text after the last link */
                        g_string_append_len (string, text + e, strlen (text) - e);
                }