diff --git a/stdlib/public/runtime/MetadataCache.h b/stdlib/public/runtime/MetadataCache.h index 29560bbf164cb..41d838e630378 100644 --- a/stdlib/public/runtime/MetadataCache.h +++ b/stdlib/public/runtime/MetadataCache.h @@ -471,7 +471,7 @@ class MetadataCacheKey { private: uint32_t computeHash() const { - size_t H = 0x56ba80d1 * NumKeyParameters; + size_t H = 0x56ba80d1u * NumKeyParameters; for (unsigned index = 0; index != NumKeyParameters; ++index) { H = (H >> 10) | (H << ((sizeof(size_t) * 8) - 10)); H ^= (reinterpret_cast(Data[index])