[empathy: 7/26] empathy-theme-adium.c: fix uint comparaisons
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy: 7/26] empathy-theme-adium.c: fix uint comparaisons
- Date: Thu, 22 Oct 2009 13:38:14 +0000 (UTC)
commit b4d5fc6e7190ef220edd48f0b77a5591a5b20b7b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Oct 21 17:23:42 2009 +0100
empathy-theme-adium.c: fix uint comparaisons
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 0f2288e..49a76c2 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]