]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Small fix.
authorBruno Haible <bruno@clisp.org>
Mon, 11 Mar 2002 12:17:46 +0000 (12:17 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:07:48 +0000 (12:07 +0200)
src/ChangeLog
src/x-python.c

index b56eaad4d92861ffb113c4f2c79ec3a386d68e4e..5c3912a36d9823a0817f0ef730bcf8b6b88ac0bd 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-10  Bruno Haible  <bruno@clisp.org>
+
+       * x-python.c (phase7_getuc): Change type of buf to 'unsigned char[]'.
+
 2002-03-07  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (msginit_LDADD): Use @INTL_LIBTOOL_SUFFIX_PREFIX@o
index cda238654ad63baf7d8b18c8d042ad9b164f2468..da76b5200ed3a4f35bc8ca720d66f3b4a258b7d7 100644 (file)
@@ -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;