From 1b55dc9d94c3d9cbd933e40ca98c9f94a8b02ef1 Mon Sep 17 00:00:00 2001 From: duk <37@cmail.nu> Date: Thu, 10 Aug 2023 16:33:43 -0400 Subject: [PATCH] Fix buildbot failure caused by D157623 GCC doesn't like the implicit conversion here. (cherry picked from commit f11f90d5f4ebfab2b44bf3c98b2d2162acf81e2c) --- llvm/tools/llvm-readobj/COFFDumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-readobj/COFFDumper.cpp b/llvm/tools/llvm-readobj/COFFDumper.cpp index 4caa1c7ff907..79fef8bc123c 100644 --- a/llvm/tools/llvm-readobj/COFFDumper.cpp +++ b/llvm/tools/llvm-readobj/COFFDumper.cpp @@ -944,7 +944,7 @@ void COFFDumper::printCOFFLoadConfig() { // RVA of each entry in the table. As of writing only a 1-byte extra flag // has been defined. uint32_t Stride = Tables.GuardFlags >> 28; - PrintExtraCB PrintExtra = Stride == 1 ? PrintGuardFlags : nullptr; + PrintExtraCB PrintExtra = Stride == 1 ? +PrintGuardFlags : nullptr; if (Tables.GuardFidTableVA) { ListScope LS(W, "GuardFidTable");