From ef752adbfc131ddea29c608d251ca224c51ed967 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 14 Mar 2007 00:07:23 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=12220 --- checkin_notes | 7 +++++++ lib/gui_rpc_client.C | 2 +- lib/gui_rpc_client_ops.C | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index bfcf734292..ad8af8333d 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2428,3 +2428,10 @@ David 13 Mar 2007 client/ cpu_sched.C work_fetch.C + +Charlie 13 Mar 2007 + - Fix compiler warnings. + + client/ + gui_rpc_server.C + gui_rpc_server_ops.C diff --git a/lib/gui_rpc_client.C b/lib/gui_rpc_client.C index 340e970cf2..99afab38e9 100644 --- a/lib/gui_rpc_client.C +++ b/lib/gui_rpc_client.C @@ -218,7 +218,7 @@ int RPC_CLIENT::authorize(const char* passwd) { } n = snprintf(buf, sizeof(buf), "%s%s", nonce, passwd); - if (n >= sizeof(buf)) return ERR_AUTHENTICATOR; + if (n >= (int)sizeof(buf)) return ERR_AUTHENTICATOR; md5_block((const unsigned char*)buf, (int)strlen(buf), nonce_hash); sprintf(buf, "\n%s\n", nonce_hash); retval = rpc.do_rpc(buf); diff --git a/lib/gui_rpc_client_ops.C b/lib/gui_rpc_client_ops.C index 5871d5f2d8..e936b4b584 100644 --- a/lib/gui_rpc_client_ops.C +++ b/lib/gui_rpc_client_ops.C @@ -1398,7 +1398,6 @@ int RPC_CLIENT::get_all_projects_list(ALL_PROJECTS_LIST& pl) { char tag[256]; bool is_tag; MIOFILE mf; - FILE* f; PROJECT_LIST_ENTRY* project; RPC rpc(this);