aboutsummaryrefslogtreecommitdiff
path: root/nfsd/cache.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2024-07-21 17:20:55 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-07-23 00:00:56 +0200
commitd494333e7607ea03819adcfb69d89f8248ec2044 (patch)
treec245d6afceb2b7dcc008a735495bf102646b142c /nfsd/cache.c
parent50f494ee743a0892380eebfbf428f398bc3b40f5 (diff)
downloadhurd-d494333e7607ea03819adcfb69d89f8248ec2044.tar.gz
hurd-d494333e7607ea03819adcfb69d89f8248ec2044.tar.bz2
hurd-d494333e7607ea03819adcfb69d89f8248ec2044.zip
nfsd: fix -Werror=incompatible-pointer-types issues for x86_64
Message-ID: <3pmgbk2myx4phdb6wcso54solmybulrvbytols5md3nri2p2qp@xjmfmpvwjp6t>
Diffstat (limited to 'nfsd/cache.c')
-rw-r--r--nfsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfsd/cache.c b/nfsd/cache.c
index cd5524af..864739c0 100644
--- a/nfsd/cache.c
+++ b/nfsd/cache.c
@@ -387,7 +387,7 @@ create_cached_handle (int fs, struct cache_handle *credc, file_t userport)
struct cache_handle *c;
int hash;
char *bp = fhandle.array + sizeof (int);
- size_t handlelen = NFS2_FHSIZE - sizeof (int);
+ mach_msg_type_number_t handlelen = NFS2_FHSIZE - sizeof (int);
mach_port_t newport, ref;
/* Authenticate USERPORT so that we can call file_getfh on it. */