summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vp9/common/vp9_prob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_prob.h b/vp9/common/vp9_prob.h
index 3920619d8..fa0e36da4 100644
--- a/vp9/common/vp9_prob.h
+++ b/vp9/common/vp9_prob.h
@@ -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) {