X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/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(); }