From 047f4ed6c188de4e874895a6818c09f2460322bd Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 18 Aug 2025 21:49:47 +0200 Subject: ipcpd: Fix printf formatting in tests on raspbian Fixes some printf formatting, which was failing the build on raspbian. Signed-off-by: Dimitri Staessens --- src/irmd/reg/tests/reg_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irmd/reg/tests') diff --git a/src/irmd/reg/tests/reg_test.c b/src/irmd/reg/tests/reg_test.c index e51fdfc0..d18f5733 100644 --- a/src/irmd/reg/tests/reg_test.c +++ b/src/irmd/reg/tests/reg_test.c @@ -598,7 +598,7 @@ static int test_insert_ipcps(void) } for (i = 0; i < 100; i++) { - sprintf(info.name, "%s-%ld", TEST_IPCP, i); + sprintf(info.name, "%s-%zd", TEST_IPCP, i); info.pid = TEST_PID + rand() % 10000; info.type = rand() % IPCP_INVALID; info.state = IPCP_INIT; /* set by spawn_ipcp */ -- cgit v1.2.3