summaryrefslogtreecommitdiff
path: root/lib/unictype/pr_hex_digit.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-13 02:06:09 +0200
committerBruno Haible <bruno@clisp.org>2020-08-13 02:09:51 +0200
commit1a5ab8331da8c0f2fe54b937064b64271ec15550 (patch)
tree22de9e42928cfee9d368acd622b248d34d160d71 /lib/unictype/pr_hex_digit.h
parent206d2710caf7265c86f5f23265ca14df28c091f8 (diff)
downloadgnulib-1a5ab8331da8c0f2fe54b937064b64271ec15550.tar.gz
Avoid implicit conversion from 'unsigned int' to 'int' in initializers.
Reported by Florian Weimer in <https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00086.html>. * lib/gen-uni-tables.c (output_predicate): Change the element type of the level3 array to 'unsigned int'. * lib/unictype/bitmap.h (bitmap_lookup): Access an 'unsigned int'. * lib/unictype/categ_*.h: Regenerated. * lib/unictype/ctype_*.h: Regenerated. * lib/unictype/pr_*.h: Regenerated. * lib/unictype/sy_*.h: Regenerated. * lib/unicase/cased.h: Regenerated. * lib/unicase/ignorable.h: Regenerated.
Diffstat (limited to 'lib/unictype/pr_hex_digit.h')
-rw-r--r--lib/unictype/pr_hex_digit.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/unictype/pr_hex_digit.h b/lib/unictype/pr_hex_digit.h
index f83ac6a2f0..9e1161e5a8 100644
--- a/lib/unictype/pr_hex_digit.h
+++ b/lib/unictype/pr_hex_digit.h
@@ -11,7 +11,7 @@ struct
int header[1];
int level1[1];
short level2[1 << 7];
- /*unsigned*/ int level3[2 << 4];
+ unsigned int level3[2 << 4];
}
u_property_hex_digit =
{
@@ -148,13 +148,13 @@ u_property_hex_digit =
2 + 128 * sizeof (short) / sizeof (int) + 16
},
{
- 0x00000000, 0x03FF0000, 0x0000007E, 0x0000007E,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x03FF0000, 0x0000007E, 0x0000007E, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000
+ 0x00000000U, 0x03FF0000U, 0x0000007EU, 0x0000007EU,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U,
+ 0x03FF0000U, 0x0000007EU, 0x0000007EU, 0x00000000U,
+ 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U
}
};