]> git.saurik.com Git - wxWidgets.git/commitdiff
removing w4 level warning
authorPatrick Albert <als@barjov.frmug.fr.net>
Mon, 30 Aug 1999 08:35:04 +0000 (08:35 +0000)
committerPatrick Albert <als@barjov.frmug.fr.net>
Mon, 30 Aug 1999 08:35:04 +0000 (08:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/cmndata.cpp

index 1d00b53bf7d3ac0074e0f756aa29629130c928ef..018cd49bb3c211db1e513458fdb5768e538c228d 100644 (file)
@@ -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;
     }