input: Fix format string for verify_internal_event
inpututils.c:577:25: warning: conversion specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat,Format String Issue] ErrorF("%02hx ", *data); ~~~~^ ~~~~~ %02hhx 1 warning generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
0de7cec907
commit
ba7d1020ac
|
@ -574,7 +574,7 @@ void verify_internal_event(const InternalEvent *ev)
|
|||
|
||||
for (i = 0; i < sizeof(xEvent); i++, data++)
|
||||
{
|
||||
ErrorF("%02hx ", *data);
|
||||
ErrorF("%02hhx ", *data);
|
||||
|
||||
if ((i % 8) == 7)
|
||||
ErrorF("\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user