aboutsummaryrefslogtreecommitdiff
path: root/hw/char/nrf51_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/nrf51_uart.c')
-rw-r--r--hw/char/nrf51_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/nrf51_uart.c b/hw/char/nrf51_uart.c
index 2777afe366..b67fd21089 100644
--- a/hw/char/nrf51_uart.c
+++ b/hw/char/nrf51_uart.c
@@ -245,7 +245,7 @@ static int uart_can_receive(void *opaque)
return s->rx_started ? (UART_FIFO_LENGTH - s->rx_fifo_len) : 0;
}
-static void uart_event(void *opaque, int event)
+static void uart_event(void *opaque, QEMUChrEvent event)
{
NRF51UARTState *s = NRF51_UART(opaque);