summaryrefslogtreecommitdiff
path: root/tests/unictype/test-decdigit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unictype/test-decdigit.c')
-rw-r--r--tests/unictype/test-decdigit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unictype/test-decdigit.c b/tests/unictype/test-decdigit.c
index 1ff25ce1..632f1c8d 100644
--- a/tests/unictype/test-decdigit.c
+++ b/tests/unictype/test-decdigit.c
@@ -1,5 +1,5 @@
/* Test the Unicode character type functions.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2026 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -31,10 +31,9 @@ int
main ()
{
unsigned int c;
- size_t i;
c = 0;
- for (i = 0; i < SIZEOF (mapping); i++)
+ for (size_t i = 0; i < SIZEOF (mapping); i++)
{
for (; c < mapping[i].ch; c++)
ASSERT (uc_decimal_value (c) == -1);