warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-03-28 17:41:02 +00:00
parent 2c1a331259
commit a1e71b1032

View File

@ -84,7 +84,7 @@ bool wxDIB::Create(int width, int height, int depth)
static const int infosize = sizeof(BITMAPINFOHEADER);
BITMAPINFO *info = (BITMAPINFO *)malloc(infosize);
wxCHECK_MSG( info, NULL, _T("malloc(BITMAPINFO) failed") );
wxCHECK_MSG( info, false, _T("malloc(BITMAPINFO) failed") );
memset(info, 0, infosize);