diff options
author | iskreen <none@none> | 2005-11-14 14:32:41 -0800 |
---|---|---|
committer | iskreen <none@none> | 2005-11-14 14:32:41 -0800 |
commit | 0bd5614ce2295446a1de4a596539271cb1b18904 (patch) | |
tree | d47d75cf82cabcecd77e4d2fb264bf67a4638858 /usr/src/common/mdesc | |
parent | 75d01c9ab5ef6f1bbac9f9d4eb379d5c38583d82 (diff) | |
download | illumos-joyent-0bd5614ce2295446a1de4a596539271cb1b18904.tar.gz |
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
Diffstat (limited to 'usr/src/common/mdesc')
-rw-r--r-- | usr/src/common/mdesc/mdesc_init_intern.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |