ref: 512f9b631f5431a1be14e2a2966397cebd6f32df
parent: f94227c81d7278ddf9634bb91ee2d2e7cfe610e3
author: Jim Bankoski <[email protected]>
date: Fri Aug 1 02:28:00 EDT 2014
removed sign mismatch warning Change-Id: Iaa40b472f6c1c48bb3bb47332b6fcf36d7f3c10e
--- a/vp9/common/vp9_common.h
+++ b/vp9/common/vp9_common.h
@@ -49,7 +49,7 @@
#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) {