diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-22 00:23:42 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-22 17:43:50 +0800 |
commit | b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b (patch) | |
tree | 82d6fa7d2cd8866e96d7cc68f1a0d57eb92cd3fd | |
parent | e007409aae5aa30c28ef14761e55e73b52b8e113 (diff) | |
download | gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar.gz gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar.bz2 gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar.lz gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar.xz gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.tar.zst gsoc2013-empathy-b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b.zip |
empathy-theme-adium.c: fix uint comparaisons
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |