OSDN Git Service

Silence a -Wsign-compare warning. NFC.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 2 Oct 2014 13:17:11 +0000 (13:17 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 2 Oct 2014 13:17:11 +0000 (13:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218868 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/MemoryDependenceAnalysis.cpp

index fe8697e..9207ca2 100644 (file)
@@ -49,10 +49,10 @@ STATISTIC(NumCacheCompleteNonLocalPtr,
           "Number of block queries that were completely cached");
 
 // Limit for the number of instructions to scan in a block.
-static const int BlockScanLimit = 100;
+static const unsigned int BlockScanLimit = 100;
 
 // Limit on the number of memdep results to process.
-static const int NumResultsLimit = 100;
+static const unsigned int NumResultsLimit = 100;
 
 char MemoryDependenceAnalysis::ID = 0;