diff options
Diffstat (limited to 'vp9/common/vp9_common.h')
-rw-r--r-- | vp9/common/vp9_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_common.h b/vp9/common/vp9_common.h index 04db7c0bb..2788e66f4 100644 --- a/vp9/common/vp9_common.h +++ b/vp9/common/vp9_common.h @@ -49,7 +49,7 @@ extern "C" { #define vp9_zero_array(dest, n) vpx_memset(dest, 0, n * sizeof(*dest)) 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) { |