Avoid a compiler warning.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Apr 2009 22:06:17 +0000 (00:06 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Apr 2009 22:06:17 +0000 (00:06 +0200)
ChangeLog
tests/uninorm/test-u32-normalize-big.c

index 6dded66..25cc808 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-04-19  Bruno Haible  <bruno@clisp.org>
 
+       Avoid a compiler warning.
+       * tests/uninorm/test-u32-normalize-big.c (read_normalization_test_file):
+       Change type of variable 'sequence'.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
        * modules/configmake (Makefile.am): When the contents of configmake.h
        does not change, arrange to preserve its modification time.
 
index 0b80ef6..96781ab 100644 (file)
@@ -224,7 +224,7 @@ read_normalization_test_file (const char *filename,
 
     for (line_index = 0; line_index < p->lines_length; line_index++)
       {
-       const unsigned int *sequence = p->lines[line_index].sequences[0];
+       const uint32_t *sequence = p->lines[line_index].sequences[0];
        /* In part 1, every sequences[0] consists of a single character.  */
        if (!(sequence[0] != 0 && sequence[1] == 0))
          abort ();