From dc37df8c7a1f003221f7b88fdc06a0eae66ae93f Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Thu, 25 Sep 2014 23:09:35 -0700 Subject: [PATCH] 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 --- src/utils/color_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_)); }