mirror of https://github.com/BOINC/boinc.git
client: Fix compiler warnings on Mac
svn path=/trunk/boinc/; revision=24305
This commit is contained in:
parent
a55a1fdf14
commit
c7dd09e9b2
|
@ -6577,8 +6577,10 @@ David 27 Sept 2011
|
|||
various
|
||||
|
||||
Charlie 27 Sep 2011
|
||||
- client: Fix compiler warnings on Mac.
|
||||
- client: Fix compile break on Mac.
|
||||
|
||||
client/
|
||||
client_state.cpp
|
||||
mac/
|
||||
config.h
|
||||
|
|
|
@ -366,11 +366,11 @@ int CLIENT_STATE::init() {
|
|||
config.ignore_nvidia_dev, config.ignore_ati_dev
|
||||
);
|
||||
for (i=0; i<descs.size(); i++) {
|
||||
msg_printf(NULL, MSG_INFO, descs[i].c_str());
|
||||
msg_printf(NULL, MSG_INFO, "%s", descs[i].c_str());
|
||||
}
|
||||
if (log_flags.coproc_debug) {
|
||||
for (i=0; i<warnings.size(); i++) {
|
||||
msg_printf(NULL, MSG_INFO, warnings[i].c_str());
|
||||
msg_printf(NULL, MSG_INFO, "%s", warnings[i].c_str());
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
@ -809,7 +809,7 @@ bool CLIENT_STATE::poll_slow_events() {
|
|||
suspend_reason_string(network_suspend_reason)
|
||||
);
|
||||
}
|
||||
msg_printf(NULL, MSG_INFO, buf);
|
||||
msg_printf(NULL, MSG_INFO, "%s", buf);
|
||||
pers_file_xfers->suspend();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue