From 0bd5614ce2295446a1de4a596539271cb1b18904 Mon Sep 17 00:00:00 2001 From: iskreen Date: Mon, 14 Nov 2005 14:32:41 -0800 Subject: 6309152 gcc and mdesc don't get along 6309756 gcc and niagara perfctr don't get along 6309977 gcc and glvc don't get along 6310446 gcc and gcn don't get along 6310609 gcc and sun4v kernel support don't get along --- usr/src/common/mdesc/mdesc_init_intern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/common/mdesc/mdesc_init_intern.c') diff --git a/usr/src/common/mdesc/mdesc_init_intern.c b/usr/src/common/mdesc/mdesc_init_intern.c index 2ba2877abb..d4a9226e9e 100644 --- a/usr/src/common/mdesc/mdesc_init_intern.c +++ b/usr/src/common/mdesc/mdesc_init_intern.c @@ -45,7 +45,7 @@ md_init_intern(uint64_t *ptr, void *(*allocp)(size_t), * Very basic checkup for alignment to avoid * bus error issues. */ - if ((((uint64_t)ptr)&7) != 0) + if ((((uintptr_t)ptr)&7) != 0) return (NULL); mdp = (md_impl_t *)allocp(sizeof (md_impl_t)); -- cgit v1.2.3