From fe8f48c6c3cb85fb2fc8497a2b1035a3f23e90b6 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Wed, 12 Feb 2025 08:34:10 +0100 Subject: [PATCH] Build fix: fix warning in ps_bugs.c --- unittest/libmariadb/ps_bugs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/libmariadb/ps_bugs.c b/unittest/libmariadb/ps_bugs.c index 7072946b..703aa34a 100644 --- a/unittest/libmariadb/ps_bugs.c +++ b/unittest/libmariadb/ps_bugs.c @@ -5034,7 +5034,7 @@ static int test_conc_fraction(MYSQL *mysql) if (tm.second_part != expected) { - diag("Error: tm.second_part=%ld expected=%lld", tm.second_part, expected); + diag("Error: tm.second_part=%ld expected=%d", tm.second_part, expected); mysql_stmt_close(stmt); return FAIL; }