Browse Source

silence compiler warning

David Rose 22 years ago
parent
commit
0a0084fc36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glxdisplay/glxGraphicsWindow.cxx

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

@@ -248,7 +248,7 @@ process_events() {
       break;
       break;
 
 
     case ClientMessage:
     case ClientMessage:
-      if (event.xclient.data.l[0] == _wm_delete_window) {
+      if ((Atom)(event.xclient.data.l[0]) == _wm_delete_window) {
         // This is a message from the window manager indicating that
         // This is a message from the window manager indicating that
         // the user has requested to close the window.  Honor the
         // the user has requested to close the window.  Honor the
         // request.
         // request.