fixed signed/unsigned comparison warning

present in an assert in backward_references.h

Change-Id: Id9a528896689e51d784ad64fdc1ca052e97fe7a2
This commit is contained in:
James Zern 2012-05-09 12:16:34 -07:00
parent 27541fbdc0
commit 5cd12c3df2

View File

@ -160,7 +160,7 @@ static WEBP_INLINE uint32_t PixOrCopyArgb(const PixOrCopy* const p) {
static WEBP_INLINE uint32_t PixOrCopyCacheIdx(const PixOrCopy* const p) {
assert(p->mode == kCacheIdx);
assert(p->argb_or_distance < (1 << kColorCacheBitsMax));
assert(p->argb_or_distance < (1U << kColorCacheBitsMax));
return p->argb_or_distance;
}