guarantee for the cast to be correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37732
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{ \
if( m_equals( m_getKey( (*node)->m_value ), key ) ) \
return node; \
- /* Tell the compiler to not do any strict-aliasing assumptions with the void cast */ \
- node = (Node**)(void*)&(*node)->m_nxt; \
+ /* Tell the compiler to not do any strict-aliasing assumptions with a void cast? Can we make such a runtime guarantee? */ \
+ node = (Node**)&(*node)->m_nxt; \
} \
\
return NULL; \