From 61c52d793c1ea2f9bdc46add2709a285ed561afa Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 15 Jun 2021 07:11:35 +0200 Subject: degesch: fix a GCC compiler warning --- degesch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index 0e70813..f9c0309 100644 --- a/degesch.c +++ b/degesch.c @@ -2109,7 +2109,7 @@ filter_color_cube_for_acceptable_nick_colors (size_t *len) // This is a pure function and we don't use threads, static storage is fine static int table[6 * 6 * 6]; size_t len_counter = 0; - for (int x = 0; x < N_ELEMENTS (table); x++) + for (int x = 0; x < (int) N_ELEMENTS (table); x++) { int r = x / 36; int g = (x / 6) % 6; -- cgit v1.2.3-70-g09d2