From 6e7c91f181eb245d2ad14d05f261ccd4c2605fbb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 13 Mar 2010 05:42:25 +0000 Subject: [PATCH] compile fixes svn path=/trunk/boinc/; revision=20891 --- clientscr/ss_app.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clientscr/ss_app.cpp b/clientscr/ss_app.cpp index 84abef7fb3..5ac8484a40 100644 --- a/clientscr/ss_app.cpp +++ b/clientscr/ss_app.cpp @@ -182,9 +182,7 @@ void show_result(RESULT* r, float x, float& y, float alpha) { sprintf(buf, "Elapsed: %.0f sec Remaining: %.0f sec", r->elapsed_time, r->estimated_cpu_time_remaining); txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf); y -= .03; - sprintf(buf, "App: %s Task: %s", (char*)r->app->user_friendly_name.c_str(), - r->wup->name.c_str() - ); + sprintf(buf, "App: %s Task: %s", r->app->user_friendly_name, r->wup->name); txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf); y -= .03; }