From 46f17a6f360d01fb1164c8a64f68ac9f5488ec48 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 14 Nov 2020 08:40:54 +0900 Subject: [PATCH] arch/arm/src/xmc4/xmc4_serial.c: Fix a type mismatch --- arch/arm/src/xmc4/xmc4_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/xmc4/xmc4_serial.c b/arch/arm/src/xmc4/xmc4_serial.c index 85d59ce369..7aa3b4cd93 100644 --- a/arch/arm/src/xmc4/xmc4_serial.c +++ b/arch/arm/src/xmc4/xmc4_serial.c @@ -263,7 +263,7 @@ static int xmc4_attach(struct uart_dev_s *dev); static void xmc4_detach(struct uart_dev_s *dev); static int xmc4_interrupt(int irq, void *context, FAR void *arg); static int xmc4_ioctl(struct file *filep, int cmd, unsigned long arg); -static int xmc4_receive(struct uart_dev_s *dev, uint32_t *status); +static int xmc4_receive(struct uart_dev_s *dev, unsigned int *status); static void xmc4_rxint(struct uart_dev_s *dev, bool enable); static bool xmc4_rxavailable(struct uart_dev_s *dev); static void xmc4_send(struct uart_dev_s *dev, int ch); @@ -851,7 +851,7 @@ static int xmc4_ioctl(struct file *filep, int cmd, unsigned long arg) * ****************************************************************************/ -static int xmc4_receive(struct uart_dev_s *dev, uint32_t *status) +static int xmc4_receive(struct uart_dev_s *dev, unsigned int *status) { struct xmc4_dev_s *priv = (struct xmc4_dev_s *)dev->priv; uint32_t outr;