Commit 0f3689d3 authored by Jim Bankoski's avatar Jim Bankoski

signed unsigned mismatch - warning error

Change-Id: I991e36aa3cfa62aae6d27b253297dd9ca9e8bc12
parent 512f9b63
......@@ -44,7 +44,7 @@ typedef int8_t vp9_tree_index;
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) {
......
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