diff options
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 9628459fe..8996aa8c7 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -33,7 +33,7 @@ static const char days_in_month[] = { | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | static const char sep1752[] = { | 35 | static const char sep1752[] = { |
36 | 1, 2, 14, 15, 16, | 36 | 1, 2, 14, 15, 16, |
37 | 17, 18, 19, 20, 21, 22, 23, | 37 | 17, 18, 19, 20, 21, 22, 23, |
38 | 24, 25, 26, 27, 28, 29, 30 | 38 | 24, 25, 26, 27, 28, 29, 30 |
39 | }; | 39 | }; |
@@ -207,7 +207,7 @@ static void day_array(int month, int year, int *days) | |||
207 | 207 | ||
208 | if ((month == 9) && (year == 1752)) { | 208 | if ((month == 9) && (year == 1752)) { |
209 | size_t oday = 0; | 209 | size_t oday = 0; |
210 | 210 | ||
211 | j_offset = julian * 244; | 211 | j_offset = julian * 244; |
212 | do { | 212 | do { |
213 | days[oday+2] = sep1752[oday] + j_offset; | 213 | days[oday+2] = sep1752[oday] + j_offset; |