diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:57:11 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 03:57:11 +0000 |
commit | ff0d62ca5499dbd4264e1861c8cb6392573fa43c (patch) | |
tree | 8e5a79030cac600d85a63187002084e1d9f4bafa /cpukit/libfs/src/rfs/rtems-rfs-file-system.h | |
parent | 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ff0d62ca5499dbd4264e1861c8cb6392573fa43c.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/src/rfs/rtems-rfs-file-system.h')
-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)) /** |