fix compiler warning

This commit is contained in:
ehouse 2004-01-29 05:07:10 +00:00
parent 3c0c7be7f5
commit 68e2975472
2 changed files with 5 additions and 2 deletions

View file

@ -1398,8 +1398,9 @@ fetchTiles( ServerCtxt* server, XP_U16 playerNum, XP_U16 nToFetch,
nLeft * sizeof(resultTiles->tiles[0]) );
nSoFar += nLeft;
}
resultTiles->nTiles = nSoFar;
XP_ASSERT( nSoFar < 0x00FF );
resultTiles->nTiles = (XP_U8)nSoFar;
} /* fetchTiles */
static void

View file

@ -398,7 +398,9 @@ GameInfo(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
CEAppGlobals* globals;
XP_U16 id;
GameInfoState* giState;
#ifndef XWFEATURE_STANDALONE_ONLY
XP_Bool on;
#endif
if ( message == WM_INITDIALOG ) {