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/os-rtems.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 '')
-rw-r--r-- | cpukit/libfs/src/jffs2/src/os-rtems.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/jffs2/src/os-rtems.h b/cpukit/libfs/src/jffs2/src/os-rtems.h index 78e2c6cf23..7946f85566 100644 --- a/cpukit/libfs/src/jffs2/src/os-rtems.h +++ b/cpukit/libfs/src/jffs2/src/os-rtems.h @@ -42,7 +42,7 @@ struct super_block; static inline unsigned int full_name_hash(const unsigned char * name, size_t len) { - unsigned hash = 0; + uint32_t hash = 0; while (len--) { hash = (hash << 4) | (hash >> 28); hash ^= *(name++); |