From ffded488109230dc488b295e19eff7a0055ed0fa Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 1 Feb 2021 22:30:50 +1100 Subject: zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t. Signed-off-by: Damien George --- ports/zephyr/machine_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3