X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/os2/dataobj2.h diff --git a/include/wx/os2/dataobj2.h b/include/wx/os2/dataobj2.h index 302dd1dc2a..a05e2d6478 100644 --- a/include/wx/os2/dataobj2.h +++ b/include/wx/os2/dataobj2.h @@ -37,7 +37,7 @@ public: virtual bool SetData(size_t len, const void *buf); protected: - void Init() { m_pngData = (void *)NULL; m_pngSize = 0; } + void Init() { m_pngData = NULL; m_pngSize = 0; } void Clear() { free(m_pngData); } void ClearAll() { Clear(); Init(); }