aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-unicode.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 22:35:03 +0800
commit433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch)
treed66a04ad4fa676b4bfce762dee09a82f4434d374 /e-util/e-unicode.c
parente6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff)
downloadgsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.bz2
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.lz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.xz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip
More code cleanup.
Diffstat (limited to 'e-util/e-unicode.c')
-rw-r--r--e-util/e-unicode.c8
1 files changed, 4 insertions, 4 deletions
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. */