diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-24 13:55:29 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-25 12:58:01 -0600 |
commit | 505b680642edaba1f9d4b2f51d7de13b361be352 (patch) | |
tree | a7ae760ddc51abc7b708733de8be3f749a8adcfa /cpukit/libfs/src/rfs | |
parent | hexdump-conv.c: Use proper printf() formatting for wchar_t (diff) | |
download | rtems-505b680642edaba1f9d4b2f51d7de13b361be352.tar.bz2 |
rtems-rfs-rtems.c: Add cast to address warning
Diffstat (limited to 'cpukit/libfs/src/rfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c index 6cefe9d4c5..4dcb827824 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c @@ -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 = (dev_t) rtems_rfs_fs_device (fs); + buf->st_dev = (dev_t) (uintptr_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); |