From: Ben Pfaff Date: Wed, 27 Apr 2011 04:22:41 +0000 (-0700) Subject: i18n: Fix type of objects passed as u8_mbtouc()'s character parameter. X-Git-Tag: v0.7.8~27 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ebdc1b90de2d205fa18e220581454bd0a687481;p=pspp-builds.git i18n: Fix type of objects passed as u8_mbtouc()'s character parameter. Thanks to Jeremy Lavergne for making a Mac OS build system available. --- diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index fbff1772..688a0c87 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -283,7 +283,7 @@ utf8_encoding_concat__ (const char *head, size_t head_len, else { size_t copy_len; - size_t prev; + ucs4_t prev; size_t ofs; int mblen; @@ -324,7 +324,7 @@ utf8_encoding_concat__ (const char *head, size_t head_len, { bool correct_result = false; size_t copy_len; - size_t prev; + ucs4_t prev; size_t ofs; int mblen;