mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
drivers/rptun/rptun.c and fs/hostfs/hostfs_rpmsg.c: Fix 64-bit build issue in rpmsg driver.
This commit is contained in:
@@ -554,7 +554,7 @@ FAR void *host_opendir(FAR const char *name)
|
||||
ret = hostfs_rpmsg_send_recv(HOSTFS_RPMSG_OPENDIR, false,
|
||||
(struct hostfs_rpmsg_header_s *)msg, len, NULL);
|
||||
|
||||
return ret < 0 ? NULL : (FAR void *)ret;
|
||||
return ret < 0 ? NULL : (FAR void *)((uintptr_t)ret);
|
||||
}
|
||||
|
||||
int host_readdir(FAR void *dirp, FAR struct dirent *entry)
|
||||
|
||||
Reference in New Issue
Block a user