From f3dadb8e754a76741461a23797624e0783b0ad0b Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 5 Jul 1998 10:13:22 +0000 Subject: [PATCH] Use u_int32_t in NQFHHASH instead of u_long. --- sys/nfs/nqnfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/nfs/nqnfs.h b/sys/nfs/nqnfs.h index 148379eb4edf..59f64d547770 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;