ref: 0f3689d32db27d1ac8d3cd075e116e3f4e099f17
parent: 512f9b631f5431a1be14e2a2966397cebd6f32df
author: Jim Bankoski <[email protected]>
date: Fri Aug 1 02:29:32 EDT 2014
signed unsigned mismatch - warning error Change-Id: I991e36aa3cfa62aae6d27b253297dd9ca9e8bc12
--- a/vp9/common/vp9_prob.h
+++ b/vp9/common/vp9_prob.h
@@ -44,7 +44,7 @@
typedef const vp9_tree_index vp9_tree[];
static INLINE vp9_prob clip_prob(int p) {
- return (p > 255) ? 255u : (p < 1) ? 1u : p;
+ return (p > 255) ? 255 : (p < 1) ? 1 : p;
}
static INLINE vp9_prob get_prob(int num, int den) {