Commit 1b6ac28a authored by James Zern's avatar James Zern Committed by Gerrit Code Review

Merge "removed sign mismatch warning"

parents 5f8fa132 512f9b63
...@@ -49,7 +49,7 @@ extern "C" { ...@@ -49,7 +49,7 @@ extern "C" {
#define vp9_zero_array(dest, n) vpx_memset(dest, 0, n * sizeof(*dest)) #define vp9_zero_array(dest, n) vpx_memset(dest, 0, n * sizeof(*dest))
static INLINE uint8_t clip_pixel(int val) { static INLINE uint8_t clip_pixel(int val) {
return (val > 255) ? 255u : (val < 0) ? 0u : val; return (val > 255) ? 255 : (val < 0) ? 0 : val;
} }
static INLINE int clamp(int value, int low, int high) { static INLINE int clamp(int value, int low, int high) {
......
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