Merge "fixed signed/unsigned comparison warning"

This commit is contained in:
James Zern
2012-05-09 14:10:32 -07:00
committed by Gerrit Code Review

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;
}