From 6c7c1bc8916a8c56a641a70f585e6aac98ee4402 Mon Sep 17 00:00:00 2001 From: joonicks Date: Sun, 21 Sep 2025 16:08:03 +0200 Subject: [PATCH] compiler warnings --- src/function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/function.c b/src/function.c index 0be55d8..27f1394 100644 --- a/src/function.c +++ b/src/function.c @@ -32,8 +32,8 @@ #ifndef TEST -LS char timebuf[24]; /* max format lentgh == 20+1, round up to nearest longword -> 24 */ -LS char idlestr[36]; /* max format lentgh == 24+1, round up to nearest longword -> 28 */ +LS char timebuf[32]; /* max format lentgh == 20+1, round up to 32 */ +LS char idlestr[36]; /* max format lentgh == 24+1, round up to 36 */ LS const char monlist[12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; LS const char daylist[7][4] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };