aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rio')
-rw-r--r--src/cmd/rio/showevent/ShowEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/rio/showevent/ShowEvent.c b/src/cmd/rio/showevent/ShowEvent.c
index 7af9ded3..56f620d5 100644
--- a/src/cmd/rio/showevent/ShowEvent.c
+++ b/src/cmd/rio/showevent/ShowEvent.c
@@ -761,7 +761,7 @@ void ShowEvent(XEvent *eev)
printf("type=%s%s", GetType((XEvent*)ev), sep);
printf("serial=%ld%s", ev->serial, sep);
printf("send_event=%s%s", TorF(ev->send_event), sep);
- printf("display=0x%x%s", (unsigned)ev->display, sep);
+ printf("display=0x%p%s", ev->display, sep);
switch (ev->type) {
case MotionNotify: