X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.cpp;h=1b54cbb93ef99314a0e0780fa7b42e552ebc6ca6;hp=5c3c0d095e5ffea4249bcd9ea9b8ce06c798aa66;hb=85793a723370de4077cce16c13f926bd317778e9;hpb=4cbfe60647c8d221d88e5927fc4be7097dbe0259 diff --git a/src/views.cpp b/src/views.cpp index 5c3c0d0..1b54cbb 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: views.cpp,v 1.155 2002/05/05 14:22:44 kevin Exp $ +** $Id: views.cpp,v 1.156 2002/05/30 17:02:32 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -1987,7 +1987,7 @@ PhantomCanvas::GetBestSize() const #ifdef CTSIM_MDI ySize = xSize = (xSize / 4); #else - xSize = ySize = ySize * .7; + xSize = ySize = static_cast(ySize * .7); #endif return wxSize (xSize, ySize);