From 94b6094a355582a31dfc416ccb42c902a77a642e Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 25 Jan 2012 09:09:35 +0000 Subject: [PATCH] VBOX: Fix compiler warnings on Mac svn path=/trunk/boinc/; revision=25146 --- checkin_notes | 6 ++++++ samples/vboxwrapper/vboxwrapper.cpp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index bd5fddadba..2e10ed467b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -997,3 +997,9 @@ David 24 Jan 2012 client_types.h vda/ vdad.cpp + +Charlie 25 Jan 2012 + - VBOX: Fix compiler warnings on Mac. + + samples/vboxwrapper/ + vboxwrapper.cpp diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index 8a07a092ba..13966cdcbb 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -513,8 +513,8 @@ int main(int argc, char** argv) { boinc_msg_prefix(buf, sizeof(buf)), system_log.c_str(), vm_log.c_str(), - vm_exit_code, - vm_exit_code + (unsigned int)vm_exit_code, + (unsigned int)vm_exit_code ); if (vm_exit_code) { boinc_finish(vm_exit_code);