wmtetris: Cast mask bitmap to signed char; avoids compiler warning.
This commit is contained in:
parent
c856197239
commit
a011e83b28
|
@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
|
||||||
for (x = 0; x < BOARD_WIDTH; x++)
|
for (x = 0; x < BOARD_WIDTH; x++)
|
||||||
board[x][y] = 0;
|
board[x][y] = 0;
|
||||||
|
|
||||||
openXwindow(argc, argv, wmtetris_xpm, wmtetris_mask_bits,
|
openXwindow(argc, argv, wmtetris_xpm, (char *)wmtetris_mask_bits,
|
||||||
wmtetris_mask_width, wmtetris_mask_height);
|
wmtetris_mask_width, wmtetris_mask_height);
|
||||||
copyXPMArea(64, 0, 64, 64, 0, 0);
|
copyXPMArea(64, 0, 64, 64, 0, 0);
|
||||||
RedrawWindow();
|
RedrawWindow();
|
||||||
|
|
Loading…
Reference in a new issue