summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-02-01 22:30:50 +1100
committerDamien George <damien@micropython.org>2021-02-01 22:30:50 +1100
commitffded488109230dc488b295e19eff7a0055ed0fa (patch)
tree8b90ca9453186057f16fccb2f4378dcc8bbde87c
parent35a6f6231e482936b7ef7e8fe3dfc790a7beb4ed (diff)
zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/zephyr/machine_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/zephyr/machine_uart.c b/ports/zephyr/machine_uart.c
index 6ae8707d7..23d7d5944 100644
--- a/ports/zephyr/machine_uart.c
+++ b/ports/zephyr/machine_uart.c
@@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin
return size;
}
-STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, mp_uint_t arg, int *errcode) {
+STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *errcode) {
mp_uint_t ret;
if (request == MP_STREAM_POLL) {