projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58614b
)
i18n: Fix type of objects passed as u8_mbtouc()'s character parameter.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 27 Apr 2011 04:22:41 +0000
(21:22 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 27 Apr 2011 04:22:41 +0000
(21:22 -0700)
Thanks to Jeremy Lavergne for making a Mac OS build system available.
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index fbff1772a18b2748e21b2cb4a61a3b2f09734dae..688a0c878d3299d1f9a9d729097b5024fff667ca 100644
(file)
--- 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;