From 04211c6f62c26403ef0e94f34980d013d6e22f7c Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 4 Apr 2009 19:53:19 +0000 Subject: [PATCH] Cast the sentinel --- panda/src/glxdisplay/glxGraphicsWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glxdisplay/glxGraphicsWindow.cxx b/panda/src/glxdisplay/glxGraphicsWindow.cxx index e2b0ca1220..87a690350e 100644 --- a/panda/src/glxdisplay/glxGraphicsWindow.cxx +++ b/panda/src/glxdisplay/glxGraphicsWindow.cxx @@ -708,7 +708,7 @@ open_window() { _ic = XCreateIC (im, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, - NULL); + (void*)NULL); if (_ic == (XIC)NULL) { glxdisplay_cat.warning() << "Couldn't create input context.\n";