From d883d771f14d7f085b101d09ce5655eefaf2e8cf Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 5 Nov 2024 15:46:27 +0100 Subject: [PATCH] libinput: Print qsizetype through %PRIdQSIZETYPE Otherwise it's wrong where qsizetype is 32bit. Amends commit 3941fe697b9fea633f85321031ece765c532d46d. Change-Id: If80b01bb188659509c42f950e803de9e1f36400a Reviewed-by: Giuseppe D'Angelo (cherry picked from commit f5cad8035d04b7d10d879369d327917c2fef8141) Reviewed-by: Qt Cherry-pick Bot --- src/platformsupport/input/libinput/qlibinputtouch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platformsupport/input/libinput/qlibinputtouch.cpp b/src/platformsupport/input/libinput/qlibinputtouch.cpp index e3a483dc840..00d74e906d8 100644 --- a/src/platformsupport/input/libinput/qlibinputtouch.cpp +++ b/src/platformsupport/input/libinput/qlibinputtouch.cpp @@ -70,7 +70,8 @@ static void setMatrix(libinput_device *dev) float matrix[6]; QList list = env.split(' '); if (list.length() != 6) { - qCWarning(qLcLibInput, "matrix length %lld wrong, should be 6", list.length()); + qCWarning(qLcLibInput, "matrix length %" PRIdQSIZETYPE " wrong, should be 6", + list.length()); return; } for (int i = 0; i < 6; i++) {