Browse Source

fix assumptions that char is signed

Rich Felker 13 years ago
parent
commit
471c6067d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/time/tzset.c

+ 2 - 2
src/time/tzset.c

@@ -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;