From 520ae4fb3f82e01a5d8abbb0a1f9c0d4011c88b5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 1 Aug 2025 17:31:50 +0200 Subject: [PATCH] kdrive: ephyr: don't use %hhu in error messages The win32/mingw libc doesn't support this conversion type. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/kdrive/ephyr/ephyr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index c8e415028..ee91e47f0 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -979,9 +979,9 @@ ephyrProcessErrorEvent(xcb_generic_event_t *xev) xcb_generic_error_t *e = (xcb_generic_error_t *)xev; FatalError("X11 error\n" - "Error code: %hhu\n" + "Error code: %hu\n" "Sequence number: %hu\n" - "Major code: %hhu\tMinor code: %hu\n" + "Major code: %hu\tMinor code: %hu\n" "Error value: %u\n", e->error_code, e->sequence,