summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2014-10-14 00:03:47 -0400
committerGedare Bloom <gedare@rtems.org>2014-10-16 01:00:11 -0400
commit38f7c785b4f6440e7d4a302cc78561057d8e40ee (patch)
tree4d6b62fcb579d5dbcf18dade5ee57f67695b94d1
parenth8300/h8sim: Exit simulator cleanly (diff)
downloadrtems-38f7c785b4f6440e7d4a302cc78561057d8e40ee.tar.bz2
rfs: explicitly cast to dev_t
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems.c2
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 ec9dd2cf68..6cefe9d4c5 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 = 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);