Use static_cast instead of reinterpret_cast for hierarchy navigation.
Merge pull request #23 from masamitsu-murase/use_static_cast_for_hierarchy_navigation

Use static_cast instead of reinterpret_cast for hierarchy navigation.