mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 07:22:52 +01:00
fixed signed/unsigned comparison warning
present in an assert in backward_references.h Change-Id: Id9a528896689e51d784ad64fdc1ca052e97fe7a2
This commit is contained in:
parent
27541fbdc0
commit
5cd12c3df2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user