fix assumptions that char is signed
authorRich Felker <dalias@aerifal.cx>
Fri, 16 Sep 2011 18:39:15 +0000 (14:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 16 Sep 2011 18:39:15 +0000 (14:39 -0400)
src/time/tzset.c

index b96ea158c15dc1ac4da8080a7c0cbdf594eb631d..0cd47cf20707633b8cd7ed17ad2e612ce8d310a9 100644 (file)
@@ -21,8 +21,8 @@ static char dst_name[TZNAME_MAX+1];
 
 /* all elements are zero-based */
 static struct rule {
-       char month;
-       char week;
+       signed char month;
+       signed char week;
        short day;
        int time;
 } __dst_start, __dst_end;