Cast the sentinel

This commit is contained in:
rdb 2009-04-04 19:53:19 +00:00
parent 1348af976a
commit 04211c6f62

View File

@ -708,7 +708,7 @@ open_window() {
_ic = XCreateIC _ic = XCreateIC
(im, (im,
XNInputStyle, XIMPreeditNothing | XIMStatusNothing, XNInputStyle, XIMPreeditNothing | XIMStatusNothing,
NULL); (void*)NULL);
if (_ic == (XIC)NULL) { if (_ic == (XIC)NULL) {
glxdisplay_cat.warning() glxdisplay_cat.warning()
<< "Couldn't create input context.\n"; << "Couldn't create input context.\n";