mi: fix printf warning about size_t format specifier
mieq.c:290:26: warning: format '%u' expects argument of type 'unsigned int',
but argument 2 has type 'size_t' [-Wformat=]
pnprintf supports size_t since 5ea21560dd
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
c64130c13b
commit
7b1b7fb3be
|
@ -286,7 +286,7 @@ mieqEnqueue(DeviceIntPtr pDev, InternalEvent *e)
|
||||||
else if (miEventQueue.dropped % QUEUE_DROP_BACKTRACE_FREQUENCY == 0 &&
|
else if (miEventQueue.dropped % QUEUE_DROP_BACKTRACE_FREQUENCY == 0 &&
|
||||||
miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY <=
|
miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY <=
|
||||||
QUEUE_DROP_BACKTRACE_MAX) {
|
QUEUE_DROP_BACKTRACE_MAX) {
|
||||||
ErrorFSigSafe("[mi] EQ overflow continuing. %u events have been "
|
ErrorFSigSafe("[mi] EQ overflow continuing. %zu events have been "
|
||||||
"dropped.\n", miEventQueue.dropped);
|
"dropped.\n", miEventQueue.dropped);
|
||||||
if (miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY ==
|
if (miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY ==
|
||||||
QUEUE_DROP_BACKTRACE_MAX) {
|
QUEUE_DROP_BACKTRACE_MAX) {
|
||||||
|
|
Loading…
Reference in New Issue