From b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 21 Oct 2009 17:23:42 +0100 Subject: empathy-theme-adium.c: fix uint comparaisons --- libempathy-gtk/empathy-theme-adium.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk/empathy-theme-adium.c') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 0f2288e2a..49a76c24c 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -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); } -- cgit v1.2.3