diff options
author | David du Colombier <0intro@gmail.com> | 2014-03-03 22:30:34 +0100 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2014-03-03 22:30:34 +0100 |
commit | 63002b3e5ab034ff1317c21b994b803cd68a6eee (patch) | |
tree | 3cd18310b856864998bc34116275e8c4bff37eb7 /src/cmd/rio | |
parent | 24b8994d3d3a30903b87c388114c7f5e7565d7fe (diff) | |
download | plan9port-63002b3e5ab034ff1317c21b994b803cd68a6eee.tar.gz plan9port-63002b3e5ab034ff1317c21b994b803cd68a6eee.tar.bz2 plan9port-63002b3e5ab034ff1317c21b994b803cd68a6eee.zip |
fix gcc 4.8 warnings
LGTM=rsc
R=rsc
https://codereview.appspot.com/33240044
Diffstat (limited to 'src/cmd/rio')
-rw-r--r-- | src/cmd/rio/showevent/ShowEvent.c | 2 |
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: |