Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ronald S. Bultje
dav1d
Commits
73d5a46c
Commit
73d5a46c
authored
Oct 02, 2018
by
Luc Trudeau
Browse files
Remove compare between int and uint in add macro
parent
41fb5ec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/decode.c
View file @
73d5a46c
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment