]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hashmap.h
Reduced deprecation warning frequency
[wxWidgets.git] / include / wx / hashmap.h
index 8e8cffcc56047c80cba358348f4f515ee71a04dc..b2aa1bff1ad09e6116deda36bc4c4ca780dd3232 100644 (file)
@@ -344,10 +344,11 @@ protected: \
         { \
             if( m_equals( m_getKey( (*node)->m_value ), key ) ) \
                 return node; \
+            /* 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 0; \
+        return NULL; \
     } \
  \
     /* returns NULL if not found */ \