Skip to content

Commit 529a265

Browse files
authored
Xtensa format specifier (#15842)
Differential Revision: D87159004
1 parent 2e384de commit 529a265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/platform/compiler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161

162162
// As of G3 RJ-2024.3 toolchain, zu format specifier is not supported for Xtensa
163163
#if defined(__XTENSA__)
164-
#define ET_PRIsize_t "lu"
165-
#define ET_PRIssize_t "ld"
164+
#define ET_PRIsize_t "u"
165+
#define ET_PRIssize_t "d"
166166
#else
167167
#define ET_PRIsize_t "zu"
168168
#define ET_PRIssize_t "zd"

0 commit comments

Comments
 (0)