Use u_int32_t in NQFHHASH instead of u_long.
This commit is contained in:
parent
46e5fdffb9
commit
f3dadb8e75
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37393
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user