diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 07:28:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-10 07:28:53 +0000 |
commit | f98bdd8cc6185284d5fae76daae5170c913e2d1a (patch) | |
tree | 84b55b6551cabd179b3494a1244c1436adf78082 /sys | |
parent | 927c0d695a8e369cadc6957ff16133acb852f5b8 (diff) |
align correct for 64 bit in NWDELAYHASH
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfs/nfs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index 3c36b931653..1de0ee04b42 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -1,5 +1,5 @@ -/* $OpenBSD: nfs.h,v 1.4 1996/04/17 04:50:23 mickey Exp $ */ -/* $NetBSD: nfs.h,v 1.10 1996/02/18 11:53:38 fvdl Exp $ */ +/* $OpenBSD: nfs.h,v 1.5 1996/06/10 07:28:52 deraadt Exp $ */ +/* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */ /* * Copyright (c) 1989, 1993, 1995 @@ -316,7 +316,7 @@ TAILQ_HEAD(, nfsreq) nfs_reqq; #define NFS_WDELAYHASHSIZ 16 /* and with this */ #endif #define NWDELAYHASH(sock, f) \ - (&(sock)->ns_wdelayhashtbl[(*((u_long *)(f))) % NFS_WDELAYHASHSIZ]) + (&(sock)->ns_wdelayhashtbl[(*((u_int32_t *)(f))) % NFS_WDELAYHASHSIZ]) #ifndef NFS_MUIDHASHSIZ #define NFS_MUIDHASHSIZ 67 /* Tune the size of nfsmount with this */ #endif |