We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddef929 + c8e8b17 commit e7ffea7Copy full SHA for e7ffea7
stdlib/public/runtime/MetadataCache.h
@@ -471,7 +471,7 @@ class MetadataCacheKey {
471
472
private:
473
uint32_t computeHash() const {
474
- size_t H = 0x56ba80d1 * NumKeyParameters;
+ size_t H = 0x56ba80d1u * NumKeyParameters;
475
for (unsigned index = 0; index != NumKeyParameters; ++index) {
476
H = (H >> 10) | (H << ((sizeof(size_t) * 8) - 10));
477
H ^= (reinterpret_cast<size_t>(Data[index])
0 commit comments