From: Jim Bankoski Date: Fri, 1 Aug 2014 13:29:32 +0000 (-0700) Subject: signed unsigned mismatch - warning error X-Git-Tag: v1.4.0~1102^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f3689d32db27d1ac8d3cd075e116e3f4e099f17;p=libvpx signed unsigned mismatch - warning error Change-Id: I991e36aa3cfa62aae6d27b253297dd9ca9e8bc12 --- 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) {