mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 04:41:25 +00:00
Silencing a -Wsign-compare warning; NFC.
llvm-svn: 247986
This commit is contained in:
1 parent
0fa4819dd8
commit
2d0f38c5fb
1 file changed
+1
-1
@@ -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++]);
|
||||
|
||||
Reference in new issue
Block a user