diff --git a/source/interposer/interposer-jack-x11.cpp b/source/interposer/interposer-jack-x11.cpp index c28b1ed92..6169d89a2 100644 --- a/source/interposer/interposer-jack-x11.cpp +++ b/source/interposer/interposer-jack-x11.cpp @@ -312,7 +312,7 @@ int XNextEvent(Display* display, XEvent* event) if (std::strcmp(type, "WM_PROTOCOLS") != 0) return ret; - if (event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False)) + if ((Atom)event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False)) return ret; gCurrentWindowVisible = false;