diff options
author | Richard Lowe <richlowe@richlowe.net> | 2011-06-22 12:40:58 -0700 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2011-07-02 22:17:06 -0400 |
commit | 4634c75a48ac77c43c3759dab59dbaae29511d92 (patch) | |
tree | 6d68aee0beedd6d69723b698e1cedafffe62de6e /usr/src | |
parent | 199261914c55ef2a42a5519a28af4dd9a15fb9d3 (diff) | |
download | illumos-joyent-4634c75a48ac77c43c3759dab59dbaae29511d92.tar.gz |
bootops: Don't cast pointer directly down to int
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/psm/stand/boot/sparc/common/bootops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/psm/stand/boot/sparc/common/bootops.c b/usr/src/psm/stand/boot/sparc/common/bootops.c index 10d7b87003..fa18e68b71 100644 --- a/usr/src/psm/stand/boot/sparc/common/bootops.c +++ b/usr/src/psm/stand/boot/sparc/common/bootops.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/bootconf.h> #include <sys/param.h> @@ -58,7 +56,7 @@ setup_bootops(void) { bootops.bsys_version = BO_VERSION; bootops.bsys_1275_call = (uint64_t)boot_fail; - bootops.bsys_printf = (uint32_t)boot_fail; + bootops.bsys_printf = (uint32_t)(uintptr_t)boot_fail; if (!memlistpage) /* paranoia runs rampant */ prom_panic("\nMemlistpage not setup yet."); |