From 05218ba8418d8162902be25038896f3d2fd0cd69 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 25 Jul 2025 10:29:06 +0200 Subject: [PATCH] mi: use %lu instead of %zu in ErrorF() call mingw doens't support `%zu` printf pattern yet. Signed-off-by: Enrico Weigelt, metux IT consult --- mi/mieq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mi/mieq.c b/mi/mieq.c index 8da1d9b568..96e318309e 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. %zu events have been " - "dropped.\n", miEventQueue.dropped); + ErrorF("[mi] EQ overflow continuing. %lu events have been " + "dropped.\n", (unsigned long)miEventQueue.dropped); if (miEventQueue.dropped / QUEUE_DROP_BACKTRACE_FREQUENCY == QUEUE_DROP_BACKTRACE_MAX) { ErrorF("[mi] No further overflow reports will be "