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:
Pascal Massimino 2014-09-25 23:09:35 -07:00
parent 9f7d9e6dda
commit dc37df8c7a

View File

@ -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_));
}