diff options
Diffstat (limited to 'sys/powerpc/powermac/macio.c')
-rw-r--r-- | sys/powerpc/powermac/macio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c index c2b4a8d..1ad6b9c 100644 --- a/sys/powerpc/powermac/macio.c +++ b/sys/powerpc/powermac/macio.c @@ -372,7 +372,7 @@ macio_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) *result = dinfo->mdi_nregs; break; case MACIO_IVAR_REGS: - *result = dinfo->mdi_regs; + *result = (uintptr_t)dinfo->mdi_regs; break; default: return (ENOENT); |