From 1330dcd1b66cb53b8dca46d60ab3d4f655302721 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 14 Mar 2007 06:33:14 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=12221 --- checkin_notes | 5 ++++- clientgui/ViewProjectsGrid.cpp | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index ad8af8333d..36d16844f9 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2430,8 +2430,11 @@ David 13 Mar 2007 work_fetch.C Charlie 13 Mar 2007 - - Fix compiler warnings. + - Fix compiler warnings, including one in CProjectInfo::makeHashKey() + which warned "call will abort at runtime." client/ gui_rpc_server.C gui_rpc_server_ops.C + clientgui/ + ViewProjectsGrid.cpp diff --git a/clientgui/ViewProjectsGrid.cpp b/clientgui/ViewProjectsGrid.cpp index 5c9c62bece..5e5666e483 100644 --- a/clientgui/ViewProjectsGrid.cpp +++ b/clientgui/ViewProjectsGrid.cpp @@ -105,7 +105,9 @@ CProjectInfo::CProjectInfo() { } void CProjectInfo::makeHashKey() { - hashKey.Printf("%s%s%s%f%f%f%f%s",name,accountname,teamname,totalcredit,avgcredit,resourceshare,rspercent,status); + hashKey.Printf(wxT("%s%s%s%f%f%f%f%s"), + name.c_str(), accountname.c_str(), teamname.c_str(), totalcredit, + avgcredit, resourceshare, rspercent, status.c_str()); } //###############