about summary refs log tree commit diff
path: root/time/tzfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzfile.c')
-rw-r--r--time/tzfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index 44b33cb02c..2d0752c147 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -244,7 +244,7 @@ __tzfile_read (const char *file)
 
   for (i = 0; i < num_isstd; ++i)
     {
-      char c = getc (f);
+      int c = getc (f);
       if (c == EOF)
 	goto lose;
       types[i].isstd = c != 0;
@@ -254,7 +254,7 @@ __tzfile_read (const char *file)
 
   for (i = 0; i < num_isgmt; ++i)
     {
-      char c = getc (f);
+      int c = getc (f);
       if (c == EOF)
 	goto lose;
       types[i].isgmt = c != 0;