diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-19 21:11:00 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-19 21:11:00 -0500 |
commit | b83fe77cbcca82db894082b170841014a4b7c05f (patch) | |
tree | 098da6205d04844f627cc1a88920e71e2d4396db /cpukit/libfs/src/jffs2/src/nodelist.h | |
parent | m68k/mrm332: Move include of <rtems/m68k/sim.h> (diff) | |
download | rtems-b83fe77cbcca82db894082b170841014a4b7c05f.tar.bz2 |
jffs2: Add casts and constant designators to address warnings on 16-bit targets
Diffstat (limited to 'cpukit/libfs/src/jffs2/src/nodelist.h')
-rw-r--r-- | cpukit/libfs/src/jffs2/src/nodelist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/jffs2/src/nodelist.h b/cpukit/libfs/src/jffs2/src/nodelist.h index 1e09f4bdce..001ac31a52 100644 --- a/cpukit/libfs/src/jffs2/src/nodelist.h +++ b/cpukit/libfs/src/jffs2/src/nodelist.h @@ -291,7 +291,7 @@ struct jffs2_eraseblock static inline int jffs2_blocks_use_vmalloc(struct jffs2_sb_info *c) { - return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); + return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128L * 1024L); } #define ref_totlen(a, b, c) __jffs2_ref_totlen((a), (b), (c)) |