diff --git a/src/utils/color_cache.c b/src/utils/color_cache.c index 046cb3b3..4746eeae 100644 --- a/src/utils/color_cache.c +++ b/src/utils/color_cache.c @@ -45,5 +45,5 @@ void VP8LColorCacheCopy(const VP8LColorCache* const src, assert(dst != NULL); assert(src->hash_bits_ == dst->hash_bits_); memcpy(dst->colors_, src->colors_, - (1 << dst->hash_bits_) * sizeof(*dst->colors_)); + (size_t)(1 << dst->hash_bits_) * sizeof(*dst->colors_)); }