r2096: *** empty log message ***
[ctsim.git] / src / views.cpp
index 5c3c0d095e5ffea4249bcd9ea9b8ce06c798aa66..1b54cbb93ef99314a0e0780fa7b42e552ebc6ca6 100644 (file)
@@ -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<int>(ySize * .7);
 #endif
 
   return wxSize (xSize, ySize);