Commit 6c4ddb75 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

drivers/serial: rt_imx_uart: Fix compiler warning

Addresses "cast from pointer to integer of different size".
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 1d8edbf6
......@@ -1158,7 +1158,7 @@ wait_unlock_out:
rtdm_lock_get_irqsave(&ctx->lock, lock_ctx);
rt_imx_uart_break_ctl(ctx, (int)arg);
rt_imx_uart_break_ctl(ctx, (unsigned long)arg);
rtdm_lock_put_irqrestore(&ctx->lock, lock_ctx);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment