arch/arm/src/xmc4/xmc4_serial.c: Fix a type mismatch

This commit is contained in:
YAMAMOTO Takashi 2020-11-14 08:40:54 +09:00 committed by Xiang Xiao
parent 1a24e9c0da
commit 46f17a6f36
1 changed files with 2 additions and 2 deletions

View File

@ -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;