You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian unstable
gcc 14.2.0
Arches i386, armel and armhf
In file included from pdu.c:63:
pdu.c: In function 'rpc_queue_pdu':
/build/libnfs-dmo-6.0.1/include/libnfs-private.h:633:49: error: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
633 | snprintf(xxlogbuf, 255, "libnfs:%d rpc %p " format, level, rpc, ## __VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~
pdu.c:703:25: note: in expansion of macro 'RPC_LOG'
703 | RPC_LOG(rpc, 2, "Sending AUTH_TLS NULL RPC (%lu bytes)",
| ^~~~~~~
cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered:
I added a quick fix since the value is guaranteed to always be <2^31 due to protocol restrictions
and regardless of the size of size_t.
Can you test if compiling current master works on your platform and if so I will make a new bugfix release asap.
Debian unstable
gcc 14.2.0
Arches i386, armel and armhf
The text was updated successfully, but these errors were encountered: