Author: cfinck
Date: Mon Oct 15 00:01:40 2007
New Revision: 29574
URL:
http://svn.reactos.org/svn/reactos?rev=29574&view=rev
Log:
Silence a warning
Modified:
trunk/reactos/base/applications/games/solitaire/solcreate.cpp
Modified: trunk/reactos/base/applications/games/solitaire/solcreate.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/solcreate.cpp (original)
+++ trunk/reactos/base/applications/games/solitaire/solcreate.cpp Mon Oct 15 00:01:40
2007
@@ -27,7 +27,7 @@
activepile.Clear();
// Compute the value for yRowStackCardOffset based on the height of the card, so the
card number isn't hidden on larger cards
- yRowStackCardOffset = __cardheight / 6.7;
+ yRowStackCardOffset = (int)(__cardheight / 6.7);
pDeck = SolWnd.CreateRegion(DECK_ID, true, X_BORDER, Y_BORDER, 2, 1);
pDeck->SetEmptyImage(CS_EI_SUNK);