changeset 11488:679ae1d73e0b

Avoid a compiler warning.
author Bruno Haible <bruno@clisp.org>
date Mon, 20 Apr 2009 00:06:17 +0200
parents f4b420294f4b
children c9d1cd0282f8
files ChangeLog tests/uninorm/test-u32-normalize-big.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/uninorm/test-u32-normalize-big.c
+++ b/tests/uninorm/test-u32-normalize-big.c
@@ -224,7 +224,7 @@
 
     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 ();