diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-20 10:42:33 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-24 08:16:22 -0500 |
commit | 47275850926fab8fd163e8e502650d683da90a07 (patch) | |
tree | c0d438c45be353b0ca02306ee639538869a8645c /cpukit/libfs/src/imfs | |
parent | m32csim-testsuite.tcfg: Add tests with data size issues (diff) | |
download | rtems-47275850926fab8fd163e8e502650d683da90a07.tar.bz2 |
imfs.h: Add cast to remove warning for pointer/integer size mismatch
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index bcf13d8072..fe3c5b12a9 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -898,7 +898,7 @@ static inline bool IMFS_is_hard_link( mode_t mode ) static inline ino_t IMFS_node_to_ino( const IMFS_jnode_t *node ) { - return (ino_t) node; + return (ino_t) ((uintptr_t) node); } /** @} */ |