mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
fix type warning for VS9_x64
Error report was: src\utils\color_cache.c(48) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) Change-Id: I93463ba7cd94faf1cf04986acbfaa06b62700d26
This commit is contained in:
parent
9f7d9e6dda
commit
dc37df8c7a
@ -45,5 +45,5 @@ void VP8LColorCacheCopy(const VP8LColorCache* const src,
|
|||||||
assert(dst != NULL);
|
assert(dst != NULL);
|
||||||
assert(src->hash_bits_ == dst->hash_bits_);
|
assert(src->hash_bits_ == dst->hash_bits_);
|
||||||
memcpy(dst->colors_, src->colors_,
|
memcpy(dst->colors_, src->colors_,
|
||||||
(1 << dst->hash_bits_) * sizeof(*dst->colors_));
|
(size_t)(1 << dst->hash_bits_) * sizeof(*dst->colors_));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user