From: Bruno Haible Date: Mon, 11 Mar 2002 12:17:46 +0000 (+0000) Subject: Small fix. X-Git-Tag: v0.11.1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b61249242be8a47ee87a2af5ab823b69c89c19;p=thirdparty%2Fgettext.git Small fix. --- diff --git a/src/ChangeLog b/src/ChangeLog index b56eaad4d..5c3912a36 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-03-10 Bruno Haible + + * x-python.c (phase7_getuc): Change type of buf to 'unsigned char[]'. + 2002-03-07 Bruno Haible * Makefile.am (msginit_LDADD): Use @INTL_LIBTOOL_SUFFIX_PREFIX@o diff --git a/src/x-python.c b/src/x-python.c index cda238654..da76b5200 100644 --- a/src/x-python.c +++ b/src/x-python.c @@ -529,7 +529,7 @@ phase7_getuc (quote_char, triple, interpret_ansic, interpret_unicode, backslash_ { if (c == 'u') { - char buf[4]; + unsigned char buf[4]; unsigned int n = 0; int i; @@ -563,7 +563,7 @@ phase7_getuc (quote_char, triple, interpret_ansic, interpret_unicode, backslash_ { if (c == 'U') { - char buf[8]; + unsigned char buf[8]; unsigned int n = 0; int i; @@ -612,7 +612,7 @@ phase7_getuc (quote_char, triple, interpret_ansic, interpret_unicode, backslash_ int c1 = phase1_getc (); if (c1 == '{') { - char buf[UNINAME_MAX + 1]; + unsigned char buf[UNINAME_MAX + 1]; int i; unsigned int n;