printf("%s %d forces %s at %d,%d\n",
step==1 ? "row" : "column",
step==1 ? start/w : start,
- mrow[j] == TENT ? "tent" : "non-tent",
+ mthis[j] == TENT ? "tent" : "non-tent",
pos % w, pos / w);
#endif
soln[pos] = mthis[j];
int v = drag_xform(ui, x, y, state->grid[y*w+x]);
if (state->grid[y*w+x] != v) {
tmplen = sprintf(tmpbuf, "%s%c%d,%d", sep,
- (v == BLANK ? 'B' :
- v == TENT ? 'T' : 'N'),
+ (int)(v == BLANK ? 'B' :
+ v == TENT ? 'T' : 'N'),
x, y);
sep = ";";