mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
Fix bug where sign extention on 16-bit processors caused too many bits
set in crosschecks.
This commit is contained in:
parent
b171900dfb
commit
1838640823
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ figureCrosschecks( EngineCtxt* engine, XP_U16 x, XP_U16 y, XP_U16* scoreP,
|
|||
if ( lookup( dict, in_edge, tiles, 0, tilesAfter ) ) {
|
||||
XP_ASSERT( (tile >> 5)
|
||||
< (sizeof(check->bits)/sizeof(check->bits[0])) );
|
||||
check->bits[tile>>5] |= (1 << (tile & 0x1F));
|
||||
check->bits[tile>>5] |= (1L << (tile & 0x1F));
|
||||
}
|
||||
|
||||
if ( IS_LAST_EDGE(dict,candidateEdge ) ) {
|
||||
|
|
Loading…
Reference in a new issue