summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-05 10:13:22 +0000
committerdfr <dfr@FreeBSD.org>1998-07-05 10:13:22 +0000
commit0787c797326f5c75bfc24e7261feb9dbd73f5e64 (patch)
tree92a5a1fd681750de69aaec74a57522551f7b71f6 /sys/nfs
parent03c89f33a96ec9d94a65758acbc393198986dae7 (diff)
downloadFreeBSD-src-0787c797326f5c75bfc24e7261feb9dbd73f5e64.zip
FreeBSD-src-0787c797326f5c75bfc24e7261feb9dbd73f5e64.tar.gz
Use u_int32_t in NQFHHASH instead of u_long.
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nqnfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nqnfs.h b/sys/nfs/nqnfs.h
index 148379e..59f64d5 100644
--- a/sys/nfs/nqnfs.h
+++ b/sys/nfs/nqnfs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nqnfs.h 8.3 (Berkeley) 3/30/95
- * $Id: nqnfs.h,v 1.16 1998/05/31 20:09:00 peter Exp $
+ * $Id: nqnfs.h,v 1.17 1998/06/01 07:23:26 peter Exp $
*/
@@ -189,7 +189,7 @@ extern CIRCLEQ_HEAD(nqtimerhead, nqlease) nqtimerhead;
* List head for the file handle hash table.
*/
#define NQFHHASH(f) \
- (&nqfhhashtbl[(*((u_long *)(f))) & nqfhhash])
+ (&nqfhhashtbl[(*((u_int32_t *)(f))) & nqfhhash])
extern LIST_HEAD(nqfhhashhead, nqlease) *nqfhhashtbl;
extern u_long nqfhhash;
OpenPOWER on IntegriCloud