summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp b/llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp
index 3a4c65ecb58..b8c1feaeb3b 100644
--- a/llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp
@@ -52,7 +52,7 @@ GlobalsStream::findRecordsByName(StringRef Name,
// Hash the name to figure out which bucket this goes into.
size_t ExpandedBucketIndex = hashStringV1(Name) % IPHR_HASH;
- uint32_t CompressedBucketIndex = GlobalsTable.BucketMap[ExpandedBucketIndex];
+ int32_t CompressedBucketIndex = GlobalsTable.BucketMap[ExpandedBucketIndex];
if (CompressedBucketIndex == -1)
return Result;
OpenPOWER on IntegriCloud