From: Joerg Sonnenberger Date: Fri, 7 Apr 2017 12:10:52 +0000 (+0200) Subject: Shrink array for days per month. Saves 31 Bytes on AMD64. X-Git-Tag: v3.3.2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f3e791dcde6ddcc22adc8ba32f8bbe794fb611e;p=thirdparty%2Flibarchive.git Shrink array for days per month. Saves 31 Bytes on AMD64. --- 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;