From 32f96080ad2f1bf263e101c245f0332eed021d5a Mon Sep 17 00:00:00 2001 From: Josh Lee Date: Tue, 29 May 2018 08:09:01 -0400 Subject: 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. --- keen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keen.c') diff --git a/keen.c b/keen.c index be77b18..423ec8c 100644 --- a/keen.c +++ b/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: { -- cgit v1.1