From 0a0084fc36547193f15d4f39a8d0c7362de55ee1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 23 Dec 2003 18:52:06 +0000 Subject: [PATCH] silence compiler warning --- 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 8682a858b7..2122769ce3 100644 --- a/panda/src/glxdisplay/glxGraphicsWindow.cxx +++ b/panda/src/glxdisplay/glxGraphicsWindow.cxx @@ -248,7 +248,7 @@ process_events() { break; 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 // the user has requested to close the window. Honor the // request.