summaryrefslogtreecommitdiff
path: root/sys/arch/sh/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sh/include/param.h')
-rw-r--r--sys/arch/sh/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sh/include/param.h b/sys/arch/sh/include/param.h
index 57243585b3d..320d8b0e909 100644
--- a/sys/arch/sh/include/param.h
+++ b/sys/arch/sh/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.6 2011/03/23 16:54:37 pirofti Exp $ */
+/* $OpenBSD: param.h,v 1.7 2011/04/07 15:45:18 miod Exp $ */
/* $NetBSD: param.h,v 1.15 2006/08/28 13:43:35 yamt Exp $ */
/*-
@@ -68,7 +68,7 @@
/*
* Round p (pointer or byte index) up to a correctly-aligned value
- * for all data types (int, long, ...). The result is u_int and
+ * for all data types (int, long, ...). The result is u_long and
* must be cast to any desired pointer type.
*
* ALIGNED_POINTER is a boolean macro that checks whether an address
@@ -78,7 +78,7 @@
*
*/
#define ALIGNBYTES (sizeof(int) - 1)
-#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES)
+#define ALIGN(p) (((u_long)(p) + ALIGNBYTES) & ~ALIGNBYTES)
#define ALIGNED_POINTER(p, t) ((((u_long)(p)) & (sizeof(t) - 1)) == 0)
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */