[PATCH 13/42] imfs.h: Add cast to remove warning for pointer/integer size mismatch
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 23 14:39:11 UTC 2015
---
cpukit/libfs/src/imfs/imfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h
index bcf13d8..fe3c5b1 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);
}
/** @} */
--
1.9.3
More information about the devel
mailing list