Skip to content

Commit fe8b153

Browse files
committed
static_cast
1 parent 9b104e2 commit fe8b153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@ void AsmPrinter::emitJumpTableSizesSection(const MachineJumpTableInfo *MJTI,
28492849

28502850
if (isElf) {
28512851
MCSymbolELF *LinkedToSym = dyn_cast<MCSymbolELF>(CurrentFnSym);
2852-
int Flags = F.hasComdat() ? (int)ELF::SHF_GROUP : 0;
2852+
int Flags = F.hasComdat() ? static_cast<int>(ELF::SHF_GROUP) : 0;
28532853

28542854
JumpTableSizesSection = OutContext.getELFSection(
28552855
sectionName, ELF::SHT_LLVM_JT_SIZES, Flags, 0, GroupName, F.hasComdat(),

0 commit comments

Comments
 (0)