From 56689e1b3a3f573d8adc3f840823547d8478ef75 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Thu, 24 Apr 2003 11:15:36 +0000 Subject: [PATCH] explicit cast for digital mars to use OLE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/ole/oleutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index afab7f2854..157ec93a44 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -134,7 +134,7 @@ private: { \ wxLogRelease(_T(#classname), m_cRef); \ \ - if ( --m_cRef == 0 ) { \ + if ( --m_cRef == wxAutoULong(0) ) { \ delete this; \ return 0; \ } \ -- 2.45.2