X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e786a78b1c826c54a8d7a233cfab7195dcd7e279..8c94336825149d5f329eaea77ba32ae5b5fd3a31:/include/wx/hashmap.h diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 8e8cffcc56..b2aa1bff1a 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -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 */ \