Silencing a -Wsign-compare warning; NFC.

llvm-svn: 247986
This commit is contained in:
Aaron Ballman committed 2015-09-18 13:31:42 +00:00
1 parent 0fa4819dd8
commit 2d0f38c5fb
1 file changed
+1 -1
+1 -1
View File
@@ -3274,7 +3274,7 @@ std::error_code BitcodeReader::parseModule(bool Resume,
case bitc::MODULE_CODE_ALIAS:
case bitc::MODULE_CODE_ALIAS_OLD: {
bool NewRecord = BitCode == bitc::MODULE_CODE_ALIAS;
if (Record.size() < (3 + NewRecord))
if (Record.size() < (3 + (unsigned)NewRecord))
return error("Invalid record");
unsigned OpNum = 0;
Type *Ty = getTypeByID(Record[OpNum++]);