r246646 - Silence a -Wsign-compare warning; NFC.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 2 05:50:13 PDT 2015


Author: aaronballman
Date: Wed Sep  2 07:50:12 2015
New Revision: 246646

URL: http://llvm.org/viewvc/llvm-project?rev=246646&view=rev
Log:
Silence a -Wsign-compare warning; NFC.

Modified:
    cfe/trunk/lib/Serialization/MultiOnDiskHashTable.h

Modified: cfe/trunk/lib/Serialization/MultiOnDiskHashTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/MultiOnDiskHashTable.h?rev=246646&r1=246645&r2=246646&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/MultiOnDiskHashTable.h (original)
+++ cfe/trunk/lib/Serialization/MultiOnDiskHashTable.h Wed Sep  2 07:50:12 2015
@@ -215,7 +215,7 @@ public:
     if (!PendingOverrides.empty())
       removeOverriddenTables();
 
-    if (Tables.size() > Info::MaxTables)
+    if (Tables.size() > static_cast<unsigned>(Info::MaxTables))
       condense();
 
     internal_key_type Key = Info::GetInternalKey(EKey);




More information about the cfe-commits mailing list