VBOX: Fix compiler warnings on Mac

svn path=/trunk/boinc/; revision=25146
This commit is contained in:
Charlie Fenton 2012-01-25 09:09:35 +00:00
parent 410be621f6
commit 94b6094a35
2 changed files with 8 additions and 2 deletions

View File

@ -997,3 +997,9 @@ David 24 Jan 2012
client_types.h client_types.h
vda/ vda/
vdad.cpp vdad.cpp
Charlie 25 Jan 2012
- VBOX: Fix compiler warnings on Mac.
samples/vboxwrapper/
vboxwrapper.cpp

View File

@ -513,8 +513,8 @@ int main(int argc, char** argv) {
boinc_msg_prefix(buf, sizeof(buf)), boinc_msg_prefix(buf, sizeof(buf)),
system_log.c_str(), system_log.c_str(),
vm_log.c_str(), vm_log.c_str(),
vm_exit_code, (unsigned int)vm_exit_code,
vm_exit_code (unsigned int)vm_exit_code
); );
if (vm_exit_code) { if (vm_exit_code) {
boinc_finish(vm_exit_code); boinc_finish(vm_exit_code);