- client: fix compile warning

fixes #535


svn path=/trunk/boinc/; revision=14688
This commit is contained in:
David Anderson 2008-02-06 04:32:06 +00:00
parent b0869fb768
commit f43452829c
3 changed files with 10 additions and 2 deletions

View File

@ -1217,3 +1217,9 @@ Rom Feb 5 2008
clientgui/ clientgui/
MainDocument.cpp MainDocument.cpp
David Feb 5 2008
- client: fix compile warning
lib/
msg_log.h

View File

@ -317,8 +317,8 @@ bool CDlgAdvPreferences::SavePreferencesSettings() {
mask.run_if_user_active=true; mask.run_if_user_active=true;
// //
if(m_txtProcIdleFor->IsEnabled()) { if(m_txtProcIdleFor->IsEnabled()) {
m_txtProcIdleFor->GetValue().ToLong(&tl); m_txtProcIdleFor->GetValue().ToLong(&td);
prefs.idle_time_to_run=tl; prefs.idle_time_to_run=td;
mask.idle_time_to_run=true; mask.idle_time_to_run=true;
} }
// //

View File

@ -47,6 +47,8 @@ public:
int pid; int pid;
MSG_LOG(FILE* output); MSG_LOG(FILE* output);
virtual ~MSG_LOG(){}
void enter_level(int = 1); void enter_level(int = 1);
void leave_level() { enter_level(-1); } void leave_level() { enter_level(-1); }
MSG_LOG& operator++() { enter_level(); return *this; } MSG_LOG& operator++() { enter_level(); return *this; }