ref: 56b421a63295dd8886f4748d1c0a32153e9ff758
parent: 441cbbb2e0c6feb0e76b6422f8e01b0dd0ac65f4
author: Simon Tatham <anakin@pobox.com>
date: Mon Jan 4 13:55:56 EST 2010
16-bit cleanliness patch from James H. [originally from svn r8803]
--- a/keen.c
+++ b/keen.c
@@ -281,8 +281,8 @@
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++)