Commit 73d5a46c authored by Luc Trudeau's avatar Luc Trudeau
Browse files

Remove compare between int and uint in add macro

parent 41fb5ec5
Pipeline #832 passed with stage
in 7 minutes and 45 seconds
...@@ -513,7 +513,7 @@ static void order_palette(const uint8_t *pal_idx, const ptrdiff_t stride, ...@@ -513,7 +513,7 @@ static void order_palette(const uint8_t *pal_idx, const ptrdiff_t stride,
#define add(v_in) do { \ #define add(v_in) do { \
const int v = v_in; \ const int v = v_in; \
assert(v < 8U); \ assert((unsigned)v < 8U); \
order[n][o_idx++] = v; \ order[n][o_idx++] = v; \
mask |= 1 << v; \ mask |= 1 << v; \
} while (0) } while (0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment