ソースを参照

Cast the sentinel

rdb 16 年 前
コミット
04211c6f62
1 ファイル変更1 行追加1 行削除
  1. 1 1
      panda/src/glxdisplay/glxGraphicsWindow.cxx

+ 1 - 1
panda/src/glxdisplay/glxGraphicsWindow.cxx

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