[gs-commits] mupdf 1.16.1.53 x11: Cast wrapped atom to Atom type.
[email protected] (Sebastian Rasmussen) Tue, 1 Oct 2019 14:55:50 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit a332305ba78241a17424dad30b37b32cc60f307a Author: Sebastian Rasmussen <[email protected]> Date: Fri Sep 27 16:56:38 2019 +0200 x11: Cast wrapped atom to Atom type. diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index bb76f29..6f251ba 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -1042,7 +1042,7 @@ int main(int argc, char **argv) case ClientMessage: if (xevt.xclient.message_type == WM_RELOAD_PAGE) pdfapp_reloadpage(&gapp); - else if (xevt.xclient.format == 32 && xevt.xclient.data.l[0] == WM_DELETE_WINDOW) + else if (xevt.xclient.format == 32 && ((Atom) xevt.xclient.data.l[0]) == WM_DELETE_WINDOW) closing = 1; break; } http://git.ghostscript.com/?p=mupdf.git;a=commit;h=a332305ba78241a17424dad30b37b32cc60f307a -- MuPDF library Artifex Software, Inc.