about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--snooze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/snooze.c b/snooze.c
index ef97098..c08cdc3 100644
--- a/snooze.c
+++ b/snooze.c
@@ -140,8 +140,8 @@ parse(char *expr, char *buf, long bufsiz, int offset)
 }
 
 char weekday[8] = {0};
-char dayofmonth[31] = {0};
-char month[12] = {0};
+char dayofmonth[32] = {0};
+char month[13] = {0};
 char dayofyear[367] = {0};
 char weekofyear[54] = {0};
 char hour[24] = {0};