[empathy] empathy_string_replace_escaped: use gsize instead of gssize
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_string_replace_escaped: use gsize instead of gssize
- Date: Wed, 9 Jun 2010 14:44:05 +0000 (UTC)
commit 25ed66df1c96c44357d5d89d7feebbcd44fd4ceb
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jun 9 16:42:21 2010 +0200
empathy_string_replace_escaped: use gsize instead of gssize
Avoid signed/unsigned comparaison in the for loop.
libempathy-gtk/empathy-string-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-string-parser.c b/libempathy-gtk/empathy-string-parser.c
index 52c726c..45ae6a7 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]