Eliminate a warning

This commit is contained in:
Gregory Nutt
2016-01-06 10:05:39 -06:00
parent b28bf55fb0
commit ce2a0b6b51
3 changed files with 4 additions and 4 deletions

2
arch

Submodule arch updated: 0761b677ef...2b89cb7d76

Submodule configs updated: 16d7a0dab2...dd63cfca08

View File

@@ -900,7 +900,7 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
irqrestore(state);
*(int *)arg = count;
*(FAR int *)((uintptr_t)arg) = count;
ret = 0;
}
break;
@@ -923,7 +923,7 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
irqrestore(state);
*(int *)arg = count;
*(FAR int *)((uintptr_t)arg) = count;
ret = 0;
}
break;