about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
Diffstat (limited to 'localedata')
-rw-r--r--localedata/ChangeLog6
-rw-r--r--localedata/tst-ctype.c2
-rw-r--r--localedata/tst-xlocale1.c2
-rw-r--r--localedata/tst-xlocale2.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 1d12af4510..bed3cef764 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-23  Roland McGrath  <roland@redhat.com>
+
+	* tst-xlocale1.c (main): int -> size_t for counter.
+	* tst-xlocale2.c (do_test): Likewise.
+	* tst-ctype.c (main): Likewise.
+
 2002-09-22  Bruno Haible  <bruno@clisp.org>
 
 	* charmaps/TSCII: New file.
diff --git a/localedata/tst-ctype.c b/localedata/tst-ctype.c
index b6f615ced6..fb2e78cbb2 100644
--- a/localedata/tst-ctype.c
+++ b/localedata/tst-ctype.c
@@ -72,7 +72,7 @@ main (void)
   size_t inplinelen = 0;
   char *resline = NULL;
   size_t reslinelen = 0;
-  int n;
+  size_t n;
   const unsigned short int *__ctype_b;
 
   setlocale (LC_ALL, "");
diff --git a/localedata/tst-xlocale1.c b/localedata/tst-xlocale1.c
index 6dcbccefdf..297c9ad7e1 100644
--- a/localedata/tst-xlocale1.c
+++ b/localedata/tst-xlocale1.c
@@ -23,7 +23,7 @@ static struct
 int
 main (void)
 {
-  int cnt;
+  size_t cnt;
   int result = 0;
   locale_t loc = newlocale (1 << LC_ALL, "C", NULL);
 
diff --git a/localedata/tst-xlocale2.c b/localedata/tst-xlocale2.c
index 8d73d340ce..30d87de72b 100644
--- a/localedata/tst-xlocale2.c
+++ b/localedata/tst-xlocale2.c
@@ -46,7 +46,7 @@ static int
 do_test (locale_t l)
 {
   int result = 0;
-  int n;
+size_t n;
 
 #define DO_TEST(TEST, RES) \
   for (n = 0; n < sizeof (str) - 1; ++n)				      \