to have some means of automatically spotting this sort of problem on
a desktop platform, but I can't immediately think of one; building a
trick compiler which thinks `int' is 16 bits would be the obvious
option, but it would immediately break the ABIs to all the system
functions.
[originally from svn r6184]
}
static void draw_clue(frontend *fe, game_drawstate *ds,
- int x, int y, int v, int err)
+ int x, int y, long v, long err)
{
char p[2];
int ccol = ((x ^ y) & 1) ? COL_SLANT1 : COL_SLANT2;
}
static void draw_tile(frontend *fe, game_drawstate *ds, game_clues *clues,
- int x, int y, int v)
+ int x, int y, long v)
{
int w = clues->w, h = clues->h, W = w+1 /*, H = h+1 */;
int chesscolour = (x ^ y) & 1;