diff --git a/arch/arm/src/s32k1xx/s32k1xx_serial.c b/arch/arm/src/s32k1xx/s32k1xx_serial.c index 3144d40084..8e6da23dbe 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_serial.c +++ b/arch/arm/src/s32k1xx/s32k1xx_serial.c @@ -199,7 +199,7 @@ static int s32k1xx_attach(struct uart_dev_s *dev); static void s32k1xx_detach(struct uart_dev_s *dev); static int s32k1xx_interrupt(int irq, void *context, FAR void *arg); static int s32k1xx_ioctl(struct file *filep, int cmd, unsigned long arg); -static int s32k1xx_receive(struct uart_dev_s *dev, uint32_t *status); +static int s32k1xx_receive(struct uart_dev_s *dev, unsigned int *status); static void s32k1xx_rxint(struct uart_dev_s *dev, bool enable); static bool s32k1xx_rxavailable(struct uart_dev_s *dev); static void s32k1xx_send(struct uart_dev_s *dev, int ch); @@ -955,7 +955,7 @@ static int s32k1xx_ioctl(struct file *filep, int cmd, unsigned long arg) * ****************************************************************************/ -static int s32k1xx_receive(struct uart_dev_s *dev, uint32_t *status) +static int s32k1xx_receive(struct uart_dev_s *dev, unsigned int *status) { struct s32k1xx_uart_s *priv = (struct s32k1xx_uart_s *)dev->priv; uint32_t rxd;