From 2ae86e787dc4f6b84c0c2236cecc6d45d466b840 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sun, 16 Feb 2025 22:56:46 +0100 Subject: [PATCH] example/hello_ll_uds: Switch to %zu and avoid 32bit build warning Signed-off-by: Bernd Schubert --- example/hello_ll_uds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/hello_ll_uds.c b/example/hello_ll_uds.c index a566155..e9cd173 100644 --- a/example/hello_ll_uds.c +++ b/example/hello_ll_uds.c @@ -185,8 +185,8 @@ static int create_socket(const char *socket_path) { if (strnlen(socket_path, sizeof(addr.sun_path)) >= sizeof(addr.sun_path)) { - printf("Socket path may not be longer than %lu characters\n", - sizeof(addr.sun_path) - 1); + printf("Socket path may not be longer than %zu characters\n", + sizeof(addr.sun_path) - 1); return -1; } -- 2.30.2