summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-15 02:32:35 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-15 02:32:35 +0000
commita23d65bfc81ba69197bec5dcc814e36783f02f46 (patch)
tree8ea1483624c6c26a321a15abba7f299f7726ac5d /sys/ufs
parentaad7cac45af92ed232797abde2e4506b80046c1e (diff)
Notes
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_quota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c
index b899ebe55788..c833cdf81ee3 100644
--- a/sys/ufs/ufs/ufs_quota.c
+++ b/sys/ufs/ufs/ufs_quota.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_quota.c 8.5 (Berkeley) 5/20/95
- * $Id: ufs_quota.c,v 1.22 1998/06/04 17:03:16 dfr Exp $
+ * $Id: ufs_quota.c,v 1.23 1998/06/21 14:53:40 bde Exp $
*/
#include <sys/param.h>
@@ -687,7 +687,7 @@ again:
* Code pertaining to management of the in-core dquot data structures.
*/
#define DQHASH(dqvp, id) \
- (&dqhashtbl[((((long)(dqvp)) >> 8) + id) & dqhash])
+ (&dqhashtbl[((((intptr_t)(dqvp)) >> 8) + id) & dqhash])
static LIST_HEAD(dqhash, dquot) *dqhashtbl;
static u_long dqhash;