From 63002b3e5ab034ff1317c21b994b803cd68a6eee Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Mon, 3 Mar 2014 22:30:34 +0100 Subject: fix gcc 4.8 warnings LGTM=rsc R=rsc https://codereview.appspot.com/33240044 --- src/cmd/rio/showevent/ShowEvent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/rio') 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: -- cgit v1.2.3