shithub: dav1d

Download patch

ref: 73d5a46cc2d236abd5438ec373a72d904c9ba6b9
parent: 41fb5ec5bb6d70241970dda960202c596054ad45
author: Luc Trudeau <ltrudeau@twoorioles.com>
date: Tue Oct 2 06:42:24 EDT 2018

Remove compare between int and uint in add macro

--- a/src/decode.c
+++ b/src/decode.c
@@ -513,7 +513,7 @@
 
 #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)