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

Remove compare between int and uint in add macro

parent 41fb5ec5
......@@ -513,7 +513,7 @@ static void order_palette(const uint8_t *pal_idx, const ptrdiff_t stride,
#define add(v_in) do { \
const int v = v_in; \
assert(v < 8U); \
assert((unsigned)v < 8U); \
order[n][o_idx++] = v; \
mask |= 1 << v; \
} while (0)
......
Markdown is supported
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