diff options
author | venki <none@none> | 2005-09-22 09:40:15 -0700 |
---|---|---|
committer | venki <none@none> | 2005-09-22 09:40:15 -0700 |
commit | bac66362059ca34e64ecf423d2c05afb9a6141b8 (patch) | |
tree | 3886a83997fa9ad4f3d781784448967d12c2bf4b | |
parent | 880460e97429dee16760cdb185d624b876e5a483 (diff) | |
download | illumos-joyent-bac66362059ca34e64ecf423d2c05afb9a6141b8.tar.gz |
6309465 gcc and pic16f747 don't get along
-rw-r--r-- | usr/src/uts/sun4u/io/pic16f747.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/sun4u/io/pic16f747.c b/usr/src/uts/sun4u/io/pic16f747.c index 6fada509bf..83d0a220dc 100644 --- a/usr/src/uts/sun4u/io/pic16f747.c +++ b/usr/src/uts/sun4u/io/pic16f747.c @@ -187,7 +187,7 @@ pic_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result) break; case DDI_INFO_DEVT2INSTANCE: - *result = (void *)inst; + *result = (void *)((uintptr_t)inst); break; default: |