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 6dded668e93875b045c77bbd3f13a805d33f95b4..25cc80815ffb57129feefc096d248c6f6f0afc3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
index 0b80ef6525c2fb680dafc43a7f6e5a28cc93cbf5..96781ab0898312928c2c78928836fe7c8e35f471 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 ();