[Mlir-commits] [llvm] [mlir] eliminating g++ warnings (PR #105520)

Frank Schlimbach llvmlistbot at llvm.org
Tue Sep 17 02:07:02 PDT 2024


================
@@ -2820,7 +2820,7 @@ void AsmPrinter::emitJumpTableSizesSection(const MachineJumpTableInfo *MJTI,
 
   if (isElf) {
     MCSymbolELF *LinkedToSym = dyn_cast<MCSymbolELF>(CurrentFnSym);
-    int Flags = F.hasComdat() ? ELF::SHF_GROUP : 0;
+    int Flags = F.hasComdat() ? (int)ELF::SHF_GROUP : 0;
----------------
fschlimb wrote:

done.

https://github.com/llvm/llvm-project/pull/105520


More information about the Mlir-commits mailing list