mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
casts to stop compiler warnings
This commit is contained in:
parent
1e03b53d1d
commit
3296642486
2 changed files with 3 additions and 3 deletions
|
@ -947,7 +947,7 @@ askBlankTile( ModelCtxt* model, XP_U16 turn )
|
||||||
&nUsed, tfaces, tiles );
|
&nUsed, tfaces, tiles );
|
||||||
|
|
||||||
chosen = util_userPickTile( model->vol.util, &pi,
|
chosen = util_userPickTile( model->vol.util, &pi,
|
||||||
turn, tfaces, nUsed );
|
turn, (const XP_UCHAR4*)tfaces, nUsed );
|
||||||
|
|
||||||
if ( chosen < 0 ) {
|
if ( chosen < 0 ) {
|
||||||
chosen = 0;
|
chosen = 0;
|
||||||
|
|
|
@ -1419,8 +1419,8 @@ fetchTiles( ServerCtxt* server, XP_U16 playerNum, XP_U16 nToFetch,
|
||||||
model_packTilesUtil( server->vol.model, pool,
|
model_packTilesUtil( server->vol.model, pool,
|
||||||
XP_TRUE, &nUsed, texts, tiles );
|
XP_TRUE, &nUsed, texts, tiles );
|
||||||
|
|
||||||
chosen = util_userPickTile( server->vol.util, &pi,
|
chosen = util_userPickTile( server->vol.util, &pi, playerNum,
|
||||||
playerNum, texts, nUsed );
|
(const XP_UCHAR4*)texts, nUsed );
|
||||||
|
|
||||||
if ( chosen == PICKER_PICKALL ) {
|
if ( chosen == PICKER_PICKALL ) {
|
||||||
ask = XP_FALSE;
|
ask = XP_FALSE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue