diff options
author | Greg Banks <gnb@melbourne.sgi.com> | 2006-06-22 18:01:10 +1000 |
---|---|---|
committer | Greg Banks <gnb@melbourne.sgi.com> | 2006-06-22 18:01:10 +1000 |
commit | 93608a52655abf5ac23404c4b5cc05fe575a9c04 (patch) | |
tree | 5d4debc42ac6667427c5f9f8f6e62a5e74906465 /utils/mountd/cache.c | |
parent | a07343ee0da4f0974a23b673ae1b0d482c7426a1 (diff) | |
download | nfs-utils-93608a52655abf5ac23404c4b5cc05fe575a9c04.tar.gz nfs-utils-93608a52655abf5ac23404c4b5cc05fe575a9c04.tar.xz nfs-utils-93608a52655abf5ac23404c4b5cc05fe575a9c04.zip |
Fix a number of the easier compile warnings: unused variables,
unused labels, constness, signedness.
Diffstat (limited to 'utils/mountd/cache.c')
-rw-r--r-- | utils/mountd/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 5285e10..c57d3b0 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -429,7 +429,7 @@ cache_get_filehandle(nfs_export *exp, int len, char *p) if (failed) return NULL; memset(fh.fh_handle, 0, sizeof(fh.fh_handle)); - fh.fh_size = qword_get(&bp, fh.fh_handle, NFS3_FHSIZE); + fh.fh_size = qword_get(&bp, (char *)fh.fh_handle, NFS3_FHSIZE); return &fh; } |