From: Patrick Albert Date: Mon, 30 Aug 1999 08:35:04 +0000 (+0000) Subject: removing w4 level warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aeb50f86609d2d807150961a5c1209eacffcb8e5 removing w4 level warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 1d00b53bf7..018cd49bb3 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -311,7 +311,7 @@ void wxPrintData::ConvertToNative() pd->hDevNames = NULL; hDevMode = pd->hDevMode; - m_devMode = (void*) hDevMode; + m_devMode = (void*)(long) hDevMode; pd->hDevMode = NULL; } @@ -819,7 +819,7 @@ void wxPrintDialogData::ConvertFromNative() // Make sure we don't leak memory GlobalFree((HGLOBAL)(DWORD) m_printData.GetNativeData()); } - m_printData.SetNativeData((void*) pd->hDevMode); + m_printData.SetNativeData((void*)(long) pd->hDevMode); pd->hDevMode = NULL; }