summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Raw/Hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/Hash.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/Hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/Hash.cpp b/llvm/lib/DebugInfo/PDB/Raw/Hash.cpp
index 2920124cade..b9f685ec69d 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/Hash.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/Hash.cpp
@@ -74,7 +74,7 @@ uint32_t pdb::hashStringV2(StringRef Str) {
Hash ^= (Hash >> 6);
}
- return Hash * 1664525L + 1013904223L;
+ return Hash * 1664525U + 1013904223U;
}
// Corresponds to `SigForPbCb` in langapi/shared/crc32.h.
OpenPOWER on IntegriCloud