diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-02-16 22:56:46 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-02-17 20:27:35 +0100 |
commit | 9971ec56d848519a1a5d4dc27ac709d90ff03e4b (patch) | |
tree | 0994829be3be669b6c4e4b7b94c926cc10b8c9fc /example | |
parent | 51cb3e2940317ce0cb409dee4f3d9e9bdde69da7 (diff) | |
download | libfuse-9971ec56d848519a1a5d4dc27ac709d90ff03e4b.tar.gz |
example/hello_ll_uds: Switch to %zu and avoid 32bit build warning
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/hello_ll_uds.c | 4 |
1 files 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; } |