Fix build warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Kaylor 2015-05-20 23:28:03 +00:00
parent d0f4ffa472
commit 008a1efecf

View File

@ -378,7 +378,7 @@ void WinEHNumbering::createTryBlockMapEntry(int TryLow, int TryHigh,
auto E = FuncInfo.TryBlockMap.end();
for ( ; I != E; ++I) {
auto &Entry = *I;
if (Entry.HandlerArray.size() != NumHandlers)
if (Entry.HandlerArray.size() != (size_t)NumHandlers)
continue;
int N;
for (N = 0; N < NumHandlers; ++N) {