From: Arran Cudbard-Bell Date: Tue, 4 Jan 2022 21:29:43 +0000 (-0600) Subject: Quiet compiler warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac74fb8129a411e37332dd17da4096b3f882a7a4;p=thirdparty%2Ffreeradius-server.git Quiet compiler warnings fr_time_delta_t is a struct now... --- diff --git a/src/lib/util/event.c b/src/lib/util/event.c index f7cab85bf2..45b281c261 100644 --- a/src/lib/util/event.c +++ b/src/lib/util/event.c @@ -2690,12 +2690,12 @@ bool fr_event_list_empty(fr_event_list_t *el) #ifdef WITH_EVENT_DEBUG static const fr_time_delta_t decades[18] = { - 1, 10, 100, - 1000, 10000, 100000, - 1000000, 10000000, 100000000, - 1000000000, 10000000000, 100000000000, - 1000000000000, 10000000000000, 100000000000000, - 1000000000000000, 10000000000000000, 100000000000000000, + { 1 }, { 10 }, { 100 }, + { 1000 }, { 10000 }, { 100000 }, + { 1000000 }, { 10000000 }, { 100000000 }, + { 1000000000 }, { 10000000000 }, { 100000000000 }, + { 1000000000000 }, { 10000000000000 }, { 100000000000000 }, + { 1000000000000000 }, { 10000000000000000 }, { 100000000000000000 }, }; static const char *decade_names[18] = {