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";