[PATCH 6/7] wmtetris: Cast mask bitmap to signed char; avoids compiler warning.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmtetris/wmtetris/wmtetris.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmtetris/wmtetris/wmtetris.c b/wmtetris/wmtetris/wmtetris.c
index d1335bb..3d536fc 100644
--- a/wmtetris/wmtetris/wmtetris.c
+++ b/wmtetris/wmtetris/wmtetris.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
 		for (x = 0; x < BOARD_WIDTH; x++)
 			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);
 	copyXPMArea(64, 0, 64, 64, 0, 0);
 	RedrawWindow();
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.