mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Eliminate a warning
This commit is contained in:
+1
-1
Submodule arch updated: 0761b677ef...2b89cb7d76
+1
-1
Submodule configs updated: 16d7a0dab2...dd63cfca08
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user