Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/executor/method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ Error Method::resolve_operator(
if (!op_function.ok()) {
ET_LOG(
Error,
"Missing operator: [%zd] %s",
"Missing operator: [%" ET_PRIssize_t "] %s",
static_cast<ssize_t>(op_index),
operator_name);
return op_function.error();
Expand Down
2 changes: 2 additions & 0 deletions runtime/platform/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@
// As of G3 RJ-2024.3 toolchain, zu format specifier is not supported for Xtensa
#if defined(__XTENSA__)
#define ET_PRIsize_t "lu"
#define ET_PRIssize_t "ld"
#else
#define ET_PRIsize_t "zu"
#define ET_PRIssize_t "zd"
#endif

// Whether the compiler supports GNU statement expressions.
Expand Down
Loading