diff options
author | benno <benno@FreeBSD.org> | 2003-02-06 10:47:57 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2003-02-06 10:47:57 +0000 |
commit | 4bfbbecf119cbac44d2b0800ddcaddd503fed388 (patch) | |
tree | 6bfd9a45da33a08dccc357684e4f208f7d2475ba /sys/powerpc/powermac | |
parent | ba64b35fac4fa0d4fad7dc24ce1daaca073a7eac (diff) | |
download | FreeBSD-src-4bfbbecf119cbac44d2b0800ddcaddd503fed388.zip FreeBSD-src-4bfbbecf119cbac44d2b0800ddcaddd503fed388.tar.gz |
Add a cast to silence a warning.
Diffstat (limited to 'sys/powerpc/powermac')
-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); |