From 8f3e791dcde6ddcc22adc8ba32f8bbe794fb611e Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 7 Apr 2017 14:10:52 +0200 Subject: [PATCH] Shrink array for days per month. Saves 31 Bytes on AMD64. --- libarchive/archive_getdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_getdate.c b/libarchive/archive_getdate.c index fe43ae820..030c083ce 100644 --- a/libarchive/archive_getdate.c +++ b/libarchive/archive_getdate.c @@ -691,7 +691,7 @@ Convert(time_t Month, time_t Day, time_t Year, time_t Hours, time_t Minutes, time_t Seconds, time_t Timezone, enum DSTMODE DSTmode) { - int DaysInMonth[12] = { + signed char DaysInMonth[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; time_t Julian; -- 2.47.2