forked from OSchip/llvm-project
[Fix] fix type deduction on ARM and MSVC
llvm-svn: 328108
This commit is contained in:
parent
bf50a7f880
commit
b5c42067c8
|
@ -167,7 +167,7 @@ void MultiwayPathsCoveredCheck::handleSwitchWithoutDefault(
|
|||
return twoPow(BitfieldDecl->getBitWidthValue(*Result.Context));
|
||||
}
|
||||
|
||||
return 0ul;
|
||||
return static_cast<std::size_t>(0);
|
||||
}();
|
||||
|
||||
// FIXME: Transform the 'switch' into an 'if' for CaseCount == 1.
|
||||
|
|
Loading…
Reference in New Issue