]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quiet compiler warnings
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 4 Jan 2022 21:29:43 +0000 (15:29 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 4 Jan 2022 21:29:43 +0000 (15:29 -0600)
fr_time_delta_t is a struct now...

src/lib/util/event.c

index f7cab85bf28287ec75fe2564d67b41333030aa93..45b281c26171b8e577565d654e6c1ca4a0597d2c 100644 (file)
@@ -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] = {