summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/write-java.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-01 00:54:46 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:19 +0200
commit6a570c60b014562bd473a22f061caad63ed8f561 (patch)
treef2baf658a17dd4127e044d74c139859186200607 /gettext-tools/src/write-java.c
parent2784ad9f09ef6d0db9cc917ed984a5e13df7703f (diff)
downloadexternal_gettext-6a570c60b014562bd473a22f061caad63ed8f561.zip
external_gettext-6a570c60b014562bd473a22f061caad63ed8f561.tar.gz
external_gettext-6a570c60b014562bd473a22f061caad63ed8f561.tar.bz2
Support for VMS.
Diffstat (limited to 'gettext-tools/src/write-java.c')
-rw-r--r--gettext-tools/src/write-java.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c
index c9b7476..0958e90 100644
--- a/gettext-tools/src/write-java.c
+++ b/gettext-tools/src/write-java.c
@@ -125,7 +125,7 @@ string_hashcode (const char *str)
while (str < str_limit)
{
unsigned int uc;
- str += u8_mbtouc (&uc, str, str_limit - str);
+ str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str);
if (uc < 0x10000)
/* Single UCS-2 'char'. */
hash = 31 * hash + uc;
@@ -338,7 +338,7 @@ write_java_string (FILE *stream, const char *str)
while (str < str_limit)
{
unsigned int uc;
- str += u8_mbtouc (&uc, str, str_limit - str);
+ str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str);
if (uc < 0x10000)
{
/* Single UCS-2 'char'. */