summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-10-08 04:44:12 +0000
committerZachary Turner <zturner@google.com>2018-10-08 04:44:12 +0000
commitba73a91491bbd80c69513be011d4bad0bd2db2e4 (patch)
tree51eaab663f65a54549aae295a45b36946cb38e3d /llvm/lib/DebugInfo/PDB/Native
parent9f6ac4c264f8f9cc9c6f5f0935a01f423b291428 (diff)
downloadbcm5719-llvm-ba73a91491bbd80c69513be011d4bad0bd2db2e4.tar.gz
bcm5719-llvm-ba73a91491bbd80c69513be011d4bad0bd2db2e4.zip
Fix a -Wsign-compare warning.
llvm-svn: 343953
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native')
-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