mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 12:49:05 +08:00
rfs: explicitly cast to dev_t
This commit is contained in:
@@ -521,7 +521,7 @@ rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
|
||||
rtems_rfs_inode_get_block (&inode, 1));
|
||||
}
|
||||
|
||||
buf->st_dev = rtems_rfs_fs_device (fs);
|
||||
buf->st_dev = (dev_t) rtems_rfs_fs_device (fs);
|
||||
buf->st_ino = rtems_rfs_inode_ino (&inode);
|
||||
buf->st_mode = rtems_rfs_rtems_mode (mode);
|
||||
buf->st_nlink = rtems_rfs_inode_get_links (&inode);
|
||||
|
||||
Reference in New Issue
Block a user