diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:57:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:57:17 +0000 |
commit | 5c8fa6a0b257465048ef38d2de25a6d67a279f6f (patch) | |
tree | f3da814a97f03b3dd9963944780a2b2177ed8049 /cpukit/libfs | |
parent | 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-5c8fa6a0b257465048ef38d2de25a6d67a279f6f.tar.bz2 |
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-file-system.h: Revert previous change.
Force RTEMS_RFS_VERSION_MASK to be 32bit.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h index ceedd010f8..e97e66a108 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h +++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h @@ -46,7 +46,7 @@ * RFS Version Number Mask. The mask determines which bits of the version * number indicate compatility issues. */ -#define RTEMS_RFS_VERSION_MASK (0x00000000) +#define RTEMS_RFS_VERSION_MASK INT32_C(0x00000000) /** * The root inode number. Do not use 0 as this has special meaning in some Unix @@ -308,7 +308,7 @@ struct _rtems_rfs_file_system * * @param _fs Pointer to the file system. */ -#define rtems_rfs_fs_size(_fs) (rtems_rfs_fs_blocks (_fs) * \ +#define rtems_rfs_fs_size(_fs) (((uint64_t) rtems_rfs_fs_blocks (_fs)) * \ rtems_rfs_fs_block_size (_fs)) /** |