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);