wmtetris: Cast mask bitmap to signed char; avoids compiler warning.

This commit is contained in:
Doug Torrance 2017-02-20 19:16:00 -05:00 committed by Carlos R. Mafra
parent c856197239
commit a011e83b28

View file

@ -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();