aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-09 22:42:21 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-09 22:58:46 +0800
commit41bdadd46ce3ce29bc25b9719e523dcab353f062 (patch)
tree9de7ac39c957f083c39a76d8755fd7bf4bb08064
parent1e37484cd2cf82b735e07baea1920afe053d84ae (diff)
downloadgsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar.gz
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar.bz2
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar.lz
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar.xz
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.tar.zst
gsoc2013-empathy-41bdadd46ce3ce29bc25b9719e523dcab353f062.zip
empathy_string_replace_escaped: use gsize instead of gssize
Avoid signed/unsigned comparaison in the for loop.
-rw-r--r--libempathy-gtk/empathy-string-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-string-parser.c b/libempathy-gtk/empathy-string-parser.c
index d25c9cc2f..057f54364 100644
--- a/libempathy-gtk/empathy-string-parser.c
+++ b/libempathy-gtk/empathy-string-parser.c
@@ -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);