[Fix] fix type deduction on ARM and MSVC

llvm-svn: 328108
This commit is contained in:
Jonas Toth 2018-03-21 15:50:15 +00:00
parent bf50a7f880
commit b5c42067c8
1 changed files with 1 additions and 1 deletions

View File

@ -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.