diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-01-04 18:55:56 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-01-04 18:55:56 +0000 |
| commit | 56b421a63295dd8886f4748d1c0a32153e9ff758 (patch) | |
| tree | d2c5cac2244211c2575c56be3a3e66bb3c2094a8 | |
| parent | 441cbbb2e0c6feb0e76b6422f8e01b0dd0ac65f4 (diff) | |
| download | puzzles-56b421a63295dd8886f4748d1c0a32153e9ff758.zip puzzles-56b421a63295dd8886f4748d1c0a32153e9ff758.tar.gz puzzles-56b421a63295dd8886f4748d1c0a32153e9ff758.tar.bz2 puzzles-56b421a63295dd8886f4748d1c0a32153e9ff758.tar.xz | |
16-bit cleanliness patch from James H.
[originally from svn r8803]
| -rw-r--r-- | keen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,8 +281,8 @@ static int solver_common(struct latin_solver *solver, void *vctx, int diff) for (box = 0; box < ctx->nboxes; box++) { int *sq = ctx->boxlist + ctx->boxes[box]; int n = ctx->boxes[box+1] - ctx->boxes[box]; - int value = ctx->clues[box] & ~CMASK; - int op = ctx->clues[box] & CMASK; + long value = ctx->clues[box] & ~CMASK; + long op = ctx->clues[box] & CMASK; if (diff == DIFF_HARD) { for (i = 0; i < n; i++) |