From 6ed07f0f0951dd2ca1f1af9bd196e05af3d14b05 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 28 Jul 2025 17:37:50 +0200 Subject: [PATCH] Revert "mi: use %lu instead of %zu in ErrorF() call" This reverts commit 1bab0c2972a5278fdf11ac5e6939d3955e04e592. --- mi/mieq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mi/mieq.c b/mi/mieq.c index 230631e8d..795bc44ff 100644 --- a/mi/mieq.c +++ b/mi/mieq.c @@ -239,8 +239,8 @@ mieqEnqueue(DeviceIntPtr pDev, InternalEvent *e) else if (miEventQueue.dropped % QUEUE_DROP_BACKTRACE_FREQUENCY == 0 && miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY <= QUEUE_DROP_BACKTRACE_MAX) { - ErrorF("[mi] EQ overflow continuing. %lu events have been " - "dropped.\n", (unsigned long)miEventQueue.dropped); + ErrorF("[mi] EQ overflow continuing. %zu events have been " + "dropped.\n", miEventQueue.dropped); if (miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY == QUEUE_DROP_BACKTRACE_MAX) { ErrorF("[mi] No further overflow reports will be "