diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index a7436c5549..3edd19018a 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -52,7 +52,10 @@ bool CBOINCGUIApp::OnInit() m_bBOINCStartedByManager = false; m_bFrameVisible = true; m_lBOINCCoreProcessId = 0; +#ifdef __WXMSW__ m_hBOINCCoreProcess = NULL; + m_hIdleDetectionDll = NULL; +#endif // Enable Trace Masks //wxLog::AddTraceMask( wxT("Function Start/End") ); diff --git a/clientgui/BOINCGUIApp.h b/clientgui/BOINCGUIApp.h index 49dd6bdba3..6742c94943 100644 --- a/clientgui/BOINCGUIApp.h +++ b/clientgui/BOINCGUIApp.h @@ -68,7 +68,7 @@ protected: bool m_bBOINCStartedByManager; bool m_bFrameVisible; - long m_lBOINCCoreProcessId; + wxInt32 m_lBOINCCoreProcessId; #ifdef __WXMSW__ HANDLE m_hBOINCCoreProcess;