From 433eac7844481b8ceda0bae8bf08f6bb623185b0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Jun 2009 19:09:19 -0400 Subject: More code cleanup. --- e-util/e-unicode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'e-util/e-unicode.c') diff --git a/e-util/e-unicode.c b/e-util/e-unicode.c index f1fed4dfab..fb815ff94f 100644 --- a/e-util/e-unicode.c +++ b/e-util/e-unicode.c @@ -239,7 +239,7 @@ e_utf8_from_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes) { gchar *new, *ob; const gchar *ib; - size_t ibl, obl; + gsize ibl, obl; if (!string) return NULL; @@ -297,7 +297,7 @@ e_utf8_to_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes) { gchar *new, *ob; const gchar *ib; - size_t ibl, obl; + gsize ibl, obl; if (!string) return NULL; @@ -601,7 +601,7 @@ e_utf8_xml1_encode (const gchar *text) gint e_unichar_to_utf8 (gint c, gchar *outbuf) { - size_t len = 0; + gsize len = 0; gint first; gint i; @@ -1962,7 +1962,7 @@ e_canonical_decomposition (gunichar ch, gunichar * buf) /* Found it. */ gint i; /* We store as a double-nul terminated string. */ - for (len = 0; (e_decomp_table[half].expansion[len] || e_decomp_table[half].expansion[len + 1]); len += 2) ; + for (len = 0; (e_decomp_table[half].expansion[len] || e_decomp_table[half].expansion[len + 1]); len += 2); /* We've counted twice as many bytes as there are characters. */ -- cgit v1.2.3