Commit 359785dd authored by Vedant Kumar's avatar Vedant Kumar
Browse files

Fix llvm-readobj build error after r293569

Clang complains about an ambiguous call to printNumber() because it
can't work out what size_t should convert to. I picked uint64_t.

llvm-svn: 293573
parent d3a601b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public:
      DictScope SectionD(W, "Section");
      const char *Type = wasmSectionTypeToString(WasmSec->Type);
      W.printHex("Type", Type, WasmSec->Type);
      W.printNumber("Size", WasmSec->Content.size());
      W.printNumber("Size", (uint64_t)WasmSec->Content.size());
      W.printNumber("Offset", WasmSec->Offset);
      if (WasmSec->Type == wasm::WASM_SEC_CUSTOM) {
        W.printString("Name", WasmSec->Name);