diff options
author | Luc Trudeau <ltrudeau@twoorioles.com> | 2018-10-01 23:00:56 +0300 |
---|---|---|
committer | Luc Trudeau <ltrudeau@twoorioles.com> | 2018-10-02 04:44:39 +0300 |
commit | bc739dceeb737226720146711b89e4381e63df3a (patch) | |
tree | bb7140d72b34983a99adbb4ea2833cbf231f92b6 /src/env.h | |
parent | 5f1d4f2725e15c90a309580a6b156bf681b7844b (diff) |
Remove compare between int and uint
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -221,11 +221,11 @@ static inline int get_comp_ctx(const BlockContext *const a, return 4; } else { // 4U means intra (-1) or bwd (>= 4) - return 2 + (l->ref[0][yb4] >= 4U); + return 2 + ((unsigned)l->ref[0][yb4] >= 4U); } } else if (l->comp_type[yb4]) { // 4U means intra (-1) or bwd (>= 4) - return 2 + (a->ref[0][xb4] >= 4U); + return 2 + ((unsigned)a->ref[0][xb4] >= 4U); } else { return (l->ref[0][yb4] >= 4) ^ (a->ref[0][xb4] >= 4); } |