zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-02-01 22:30:50 +11:00
parent 35a6f6231e
commit ffded48810

View File

@ -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) {