about summary refs log tree commit diff
path: root/src/time/tzset.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-16 14:39:15 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-16 14:39:15 -0400
commit471c6067d9a0665809a125260a7dede8ee357f98 (patch)
tree6519ab3285967e9b425fc10a10c022971a24f7c9 /src/time/tzset.c
parent2b71a4d1dfb0487cc2558df646a262ffb8261585 (diff)
downloadmusl-471c6067d9a0665809a125260a7dede8ee357f98.tar.gz
musl-471c6067d9a0665809a125260a7dede8ee357f98.tar.xz
musl-471c6067d9a0665809a125260a7dede8ee357f98.zip
fix assumptions that char is signed
Diffstat (limited to 'src/time/tzset.c')
-rw-r--r--src/time/tzset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time/tzset.c b/src/time/tzset.c
index b96ea158..0cd47cf2 100644
--- a/src/time/tzset.c
+++ b/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;