casts to stop compiler warnings

This commit is contained in:
ehouse 2005-05-29 19:29:33 +00:00
parent 37dd97edf6
commit 4095acc327
2 changed files with 3 additions and 3 deletions

View file

@ -947,7 +947,7 @@ askBlankTile( ModelCtxt* model, XP_U16 turn )
&nUsed, tfaces, tiles );
chosen = util_userPickTile( model->vol.util, &pi,
turn, tfaces, nUsed );
turn, (const XP_UCHAR4*)tfaces, nUsed );
if ( chosen < 0 ) {
chosen = 0;

View file

@ -1419,8 +1419,8 @@ fetchTiles( ServerCtxt* server, XP_U16 playerNum, XP_U16 nToFetch,
model_packTilesUtil( server->vol.model, pool,
XP_TRUE, &nUsed, texts, tiles );
chosen = util_userPickTile( server->vol.util, &pi,
playerNum, texts, nUsed );
chosen = util_userPickTile( server->vol.util, &pi, playerNum,
(const XP_UCHAR4*)texts, nUsed );
if ( chosen == PICKER_PICKALL ) {
ask = XP_FALSE;