Skip to content

Commit

Permalink
Fix buildbot failure caused by D157623
Browse files Browse the repository at this point in the history
GCC doesn't like the implicit conversion here.

(cherry picked from commit f11f90d)
  • Loading branch information
duk-37 authored and tru committed Sep 28, 2023
1 parent 28d81a2 commit 1b55dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/tools/llvm-readobj/COFFDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1b55dc9

Please sign in to comment.