mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Enable 64-bit osx build and fix a warning.
OS X is beginning to show a warning when a 32-bit application is opened, so it's high time that this gets enabled. Fix a clang warning exposed by this build.
This commit is contained in:
4
keen.c
4
keen.c
@ -1101,7 +1101,7 @@ done
|
||||
cluevals[j] *= grid[i];
|
||||
break;
|
||||
case C_SUB:
|
||||
cluevals[j] = abs(cluevals[j] - grid[i]);
|
||||
cluevals[j] = labs(cluevals[j] - grid[i]);
|
||||
break;
|
||||
case C_DIV:
|
||||
{
|
||||
@ -1534,7 +1534,7 @@ static int check_errors(const game_state *state, long *errors)
|
||||
cluevals[j] *= state->grid[i];
|
||||
break;
|
||||
case C_SUB:
|
||||
cluevals[j] = abs(cluevals[j] - state->grid[i]);
|
||||
cluevals[j] = labs(cluevals[j] - state->grid[i]);
|
||||
break;
|
||||
case C_DIV:
|
||||
{
|
||||
|
Reference in New Issue
Block a user