summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-15 04:17:55 +0000
committerbde <bde@FreeBSD.org>1998-07-15 04:17:55 +0000
commitbd9ef8a24a3df4493e225b33f9ae0c53888b7dd2 (patch)
tree2c8dd8cacf60976bda351677b9ba89f4debb320b /sys/fs
parent26e01496748b5feb17fede9fad7e32edd073f134 (diff)
downloadFreeBSD-src-bd9ef8a24a3df4493e225b33f9ae0c53888b7dd2.zip
FreeBSD-src-bd9ef8a24a3df4493e225b33f9ae0c53888b7dd2.tar.gz
Cast pointers to [u]intptr_t instead of to [unsigned] long.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/unionfs/union_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 7173734..c54d86b 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id: union_subr.c,v 1.29 1998/02/26 03:23:54 kato Exp $
+ * $Id: union_subr.c,v 1.30 1998/05/07 04:58:36 msmith Exp $
*/
#include <sys/param.h>
@@ -61,7 +61,7 @@ extern int union_init __P((void));
/* unsigned int ... */
#define UNION_HASH(u, l) \
- (((((unsigned long) (u)) + ((unsigned long) l)) >> 8) & (NHASH-1))
+ (((((uintptr_t) (u)) + ((uintptr_t) l)) >> 8) & (NHASH-1))
static LIST_HEAD(unhead, union_node) unhead[NHASH];
static int unvplock[NHASH];
OpenPOWER on IntegriCloud