From 9c2889e1c89693c9a29a7f2182e01cbc7404ca1b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 18 Feb 2005 23:50:38 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5477 --- checkin_notes | 8 ++++++++ client/app_start.C | 4 ++-- client/http.C | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index de67c1d1b0..020c59f964 100755 --- a/checkin_notes +++ b/checkin_notes @@ -25019,3 +25019,11 @@ David 18 Feb 2005 app_start.C cs_account.C scheduler_op.C + +David 18 Feb 2005 + - fix gcc warning + - printf in http.C had wrong conversion character + + client/ + app_start.C + http.C diff --git a/client/app_start.C b/client/app_start.C index 245d33c356..d74edf86d6 100644 --- a/client/app_start.C +++ b/client/app_start.C @@ -267,7 +267,7 @@ int ACTIVE_TASK::start(bool first_time) { // strcpy(exec_name, ""); for (i=0; iapp_files.size(); i++) { - FILE_REF fref = app_version->app_files[i]; + fref = app_version->app_files[i]; fip = fref.file_info; get_pathname(fip, file_path); if (fref.main_program) { @@ -454,7 +454,7 @@ int ACTIVE_TASK::start(bool first_time) { // Postcondition: "state" is set correctly // int ACTIVE_TASK::resume_or_start() { - char* str = "??"; + const char* str = "??"; int retval; switch (task_state) { diff --git a/client/http.C b/client/http.C index ce64d388bd..b64b4818cf 100644 --- a/client/http.C +++ b/client/http.C @@ -834,7 +834,7 @@ bool HTTP_OP_SET::poll(double) { scope_messages.printf( "HTTP_OP_SET::poll(): ERR_IO: bytes_xferred: %d," "file offset: %d, expected content length: %d\n", - htp->bytes_xferred, htp->file_offset, htp->hrh.content_length + (int)htp->bytes_xferred, (int)htp->file_offset, htp->hrh.content_length ); htp->http_op_retval = ERR_IO; }