diff options
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-format.c')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-format.c b/cpukit/libfs/src/rfs/rtems-rfs-format.c index 6820de4ec9..16f9b4de14 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-format.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-format.c @@ -33,7 +33,7 @@ /** * Return the number of gigabytes. */ -#define GIGS(_g) ((_g) * 1024 * 1024) +#define GIGS(_g) (((uint64_t)(_g)) * 1024 * 1024) /** * Return the number of bits that fit in the block size. |