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:42:23 +0800
commit25ed66df1c96c44357d5d89d7feebbcd44fd4ceb (patch)
tree01335ebbd7ec49a3c1932231c13e377d28810909
parent266835f4f2885c11109bd0777ed970241c52622e (diff)
downloadgsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar.gz
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar.bz2
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar.lz
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar.xz
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.tar.zst
gsoc2013-empathy-25ed66df1c96c44357d5d89d7feebbcd44fd4ceb.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 52c726c69..45ae6a720 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);