From: Bernd Schubert Date: Sun, 16 Feb 2025 21:56:46 +0000 (+0100) Subject: example/hello_ll_uds: Switch to %zu and avoid 32bit build warning X-Git-Tag: fuse-3.17.1-rc1~15 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2ae86e787dc4f6b84c0c2236cecc6d45d466b840;p=qemu-gpiodev%2Flibfuse.git example/hello_ll_uds: Switch to %zu and avoid 32bit build warning Signed-off-by: Bernd Schubert --- 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; }