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

@ -1 +1 @@
Subproject commit 0761b677efa861b6369cea195968a59e4a6e6860
Subproject commit 2b89cb7d768c94c11a3902e85fd0858c4033ef74

@ -1 +1 @@
Subproject commit 16d7a0dab2c4a48583d40bcf1dbf8e9a74316e91
Subproject commit dd63cfca08a5a3baf8e829080bf9580723765566

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;