fix gcc 4.8 warnings

LGTM=rsc
R=rsc
https://codereview.appspot.com/33240044
This commit is contained in:
David du Colombier 2014-03-03 22:30:34 +01:00
parent 24b8994d3d
commit 63002b3e5a
6 changed files with 5 additions and 15 deletions

View file

@ -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: