about summary refs log tree commit diff
path: root/libio/tst-fgetws.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-fgetws.c')
-rw-r--r--libio/tst-fgetws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/tst-fgetws.c b/libio/tst-fgetws.c
index 88b6261bb8..66fb9d1d8e 100644
--- a/libio/tst-fgetws.c
+++ b/libio/tst-fgetws.c
@@ -13,7 +13,7 @@
 int
 main (int argc, char *argv[])
 {
-  int i;
+  size_t i;
   FILE   *fp;
   wchar_t *ret, wcs[WIDE_STR_LEN];
   int result = 0;
@@ -123,7 +123,7 @@ main (int argc, char *argv[])
     }
   else
     {
-      int i;
+      size_t i;
 
       printf ("Return Value: %p\n", ret);
       for (i = 0; i < wcslen (wcs) + 1; i++)