diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index fbc4af9c..dbf2593c 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -607,7 +607,7 @@ Result BinaryReaderLogging::OnSegmentInfo(Index index, Address alignment, uint32_t flags) { LOGF("OnSegmentInfo(%d name: " PRIstringview - ", alignment: %d, flags: 0x%x)\n", + ", alignment: %lu, flags: 0x%x)\n", index, WABT_PRINTF_STRING_VIEW_ARG(name), alignment, flags); return reader_->OnSegmentInfo(index, name, alignment, flags); } @@ -695,7 +695,7 @@ Result BinaryReaderLogging::OnComdatEntry(ComdatType kind, Index index) { #define DEFINE_LOAD_STORE_OPCODE(name) \ Result BinaryReaderLogging::name(Opcode opcode, Address alignment_log2, \ Address offset) { \ - LOGF(#name "(opcode: \"%s\" (%u), align log2: %u, offset: %" PRIaddress \ + LOGF(#name "(opcode: \"%s\" (%u), align log2: %lu, offset: %" PRIaddress\ ")\n", \ opcode.GetName(), opcode.GetCode(), alignment_log2, offset); \ return reader_->name(opcode, alignment_log2, offset); \ |