summaryrefslogtreecommitdiff
path: root/zwgc/xselect.c
diff options
context:
space:
mode:
authorGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-03-18 00:19:59 -0400
committerGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-03-18 01:59:01 -0400
commit0a1b1120ff30703ff6e661a7b7901380f0ce4192 (patch)
tree82448436422c1c4e4f3fc9b36c521614a4b0d885 /zwgc/xselect.c
parent16ed769a51c69ae99123d3e64d1f914bd20d7cb8 (diff)
Dewarn with -DDEBUG
It's sort of nice to be able to build with debugging.
Diffstat (limited to 'zwgc/xselect.c')
-rw-r--r--zwgc/xselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/xselect.c b/zwgc/xselect.c
index 89f594d..45ac997 100644
--- a/zwgc/xselect.c
+++ b/zwgc/xselect.c
@@ -127,7 +127,7 @@ xselSetProperties(Display *dpy,
spec (or if this program is buggy), but it could happen */
#ifdef DEBUG
fprintf(stderr,
- "SelectionRequest event received for unowned selection: requestor wid=0x%x", w);
+ "SelectionRequest event received for unowned selection: requestor wid=0x%lx", (unsigned long)w);
#endif
ChangeProp(XA_STRING,8,"",0);
}