From 457f5f5155624be294ee5dd3b3529be15d11f522 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 14:56:11 +0900 Subject: [PATCH] arch/arm/src/samd5e5/sam_serial.c: Fix a type mismatch --- arch/arm/src/samd5e5/sam_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/samd5e5/sam_serial.c b/arch/arm/src/samd5e5/sam_serial.c index a3a733633c..24447b6e9c 100644 --- a/arch/arm/src/samd5e5/sam_serial.c +++ b/arch/arm/src/samd5e5/sam_serial.c @@ -329,7 +329,7 @@ static void sam_shutdown(struct uart_dev_s *dev); static int sam_attach(struct uart_dev_s *dev); static void sam_detach(struct uart_dev_s *dev); static int sam_ioctl(struct file *filep, int cmd, unsigned long arg); -static int sam_receive(struct uart_dev_s *dev, uint32_t *status); +static int sam_receive(struct uart_dev_s *dev, unsigned int *status); static void sam_rxint(struct uart_dev_s *dev, bool enable); static bool sam_rxavailable(struct uart_dev_s *dev); static void sam_send(struct uart_dev_s *dev, int ch); @@ -880,7 +880,7 @@ static int sam_ioctl(struct file *filep, int cmd, unsigned long arg) * ****************************************************************************/ -static int sam_receive(struct uart_dev_s *dev, uint32_t *status) +static int sam_receive(struct uart_dev_s *dev, unsigned int *status) { struct sam_dev_s *priv = (struct sam_dev_s *)dev->priv;