Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45e4deb

Browse files
antonblancharddpgeorge
authored andcommitted
zephyr/mpconfigport: Fix mp_int_t and mp_uint_t to work on 64-bit archs.
These both need to fit a pointer, so make them `intptr_t` and `uintptr_t`,similar to other ports.Signed-off-by: Anton Blanchard <antonb@tenstorrent.com>
1 parentfe28cd7 commit45e4deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎ports/zephyr/mpconfigport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ void mp_hal_signal_event(void);
139139
#defineMICROPY_HW_MCU_NAME "unknown-cpu"
140140
#endif
141141

142-
typedefintmp_int_t;// must be pointer size
143-
typedefunsignedmp_uint_t;// must be pointer size
142+
typedefintptr_tmp_int_t;// must be pointer size
143+
typedefuintptr_tmp_uint_t;// must be pointer size
144144
typedeflongmp_off_t;
145145

146146
#defineMP_STATE_PORT MP_STATE_VM

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp