diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-02-16 22:56:46 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-02-18 22:32:49 +0100 |
commit | 2ae86e787dc4f6b84c0c2236cecc6d45d466b840 (patch) | |
tree | fe2b6fab5e02ffc703cb42beb1a37075458b6fdf /example/hello_ll_uds.c | |
parent | 88f7fb2b64a234eb14575d02db14ddd86c523c2d (diff) | |
download | libfuse-2ae86e787dc4f6b84c0c2236cecc6d45d466b840.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/hello_ll_uds.c')
-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; } |