summaryrefslogtreecommitdiff
path: root/tests/unicase/test-predicate-part2.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unicase/test-predicate-part2.h')
-rw-r--r--tests/unicase/test-predicate-part2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unicase/test-predicate-part2.h b/tests/unicase/test-predicate-part2.h
index 1212e013..1ca36c1a 100644
--- a/tests/unicase/test-predicate-part2.h
+++ b/tests/unicase/test-predicate-part2.h
@@ -1,5 +1,5 @@
/* Test the Unicode character type functions.
- Copyright (C) 2007, 2009-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-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
@@ -20,10 +20,9 @@ int
main ()
{
unsigned int c;
- size_t i;
c = 0;
- for (i = 0; i < SIZEOF (set); i++)
+ for (size_t i = 0; i < SIZEOF (set); i++)
{
for (; c < set[i].start; c++)
ASSERT (!PREDICATE (c));