diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-06-15 07:11:35 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-06-15 07:11:35 +0200 |
commit | 61c52d793c1ea2f9bdc46add2709a285ed561afa (patch) | |
tree | 9e25d9039d20022914a666f18c9e51f0d626045c /degesch.c | |
parent | b4dd0052ffc60fbd642729a3e05bcadbd6edd6e1 (diff) | |
download | xK-61c52d793c1ea2f9bdc46add2709a285ed561afa.tar.gz xK-61c52d793c1ea2f9bdc46add2709a285ed561afa.tar.xz xK-61c52d793c1ea2f9bdc46add2709a285ed561afa.zip |
degesch: fix a GCC compiler warning
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |