diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2011-06-22 12:54:00 -0700 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2011-06-22 12:54:00 -0700 |
| commit | e0731422366620894c16c1ee6515551c5f00733d (patch) | |
| tree | 0df8646c563a23c8a22318d41f12c5554281e65b /usr/src/psm | |
| parent | 042f029e72a2d7a92c989ad0d0570f7b21efa2aa (diff) | |
| download | illumos-joyent-e0731422366620894c16c1ee6515551c5f00733d.tar.gz | |
2163 sparc bits should be more careful casting pointers
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/psm')
| -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."); |
