From daa904a3d8fa34481d9292cb64c0c15b2c3fc194 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 7 Nov 2005 18:40:08 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8815 --- clientgui/ViewStatistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/ViewStatistics.cpp b/clientgui/ViewStatistics.cpp index 9dc108e8c3..11461a32b6 100644 --- a/clientgui/ViewStatistics.cpp +++ b/clientgui/ViewStatistics.cpp @@ -106,7 +106,7 @@ void CPaintStatistics::OnPaint(wxPaintEvent& WXUNUSED(event)) { nb_proj_row=nb_proj; } else { nb_proj_col=2; - nb_proj_row=(wxInt32)ceil((wxCoord)(nb_proj/static_cast(nb_proj_col))); + nb_proj_row=(wxInt32)ceil(static_cast(nb_proj/static_cast(nb_proj_col))); } wxInt32 col=1, row=1; //Used to identify the actual row/col