[Xfce4-commits] [xfce/xfwm4] 07/07: display: Fix compiler warning
noreply at xfce.org
noreply at xfce.org
Wed May 8 09:31:26 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 34595e33de981ea6dd0f1dbd97b802a35fcdf8ee
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Wed May 8 09:27:52 2019 +0200
display: Fix compiler warning
The serial on an XError is an unsigned long.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/display.c b/src/display.c
index 5f04911..505886a 100644
--- a/src/display.c
+++ b/src/display.c
@@ -67,7 +67,7 @@ handleXError (Display * dpy, XErrorEvent * err)
XGetErrorText (dpy, err->error_code, buf, 63);
fprintf (stderr, "XError: %s\n", buf);
- fprintf (stderr, "==> XID 0x%lx, request code %d, serial %d, error code %d, minor code %d <==\n",
+ fprintf (stderr, "==> XID 0x%lx, request code %d, serial %lu, error code %d, minor code %d <==\n",
err->resourceid, err->request_code, err->serial, err->error_code, err->minor_code);
#endif
return 0;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list