diff options
author | Dave Airlie <airlied@redhat.com> | 2012-04-03 11:08:09 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-03 11:08:09 +0100 |
commit | b9afafec0a26eaec49e7f0ff08297c2bb795a9c2 (patch) | |
tree | 7b077ce5bb099fdb2743e3cf40ec14519bf629d2 /src/geode_ddc.c | |
parent | 048c67d6f351083741ef68e94a278a445c16436d (diff) |
geode: fix compile on x86-64 in tinderbox.
geode_ddc.c: In function 'GeodeI2CInit':
geode_ddc.c:158: error: cast to pointer from integer of different size
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/geode_ddc.c')
-rw-r--r-- | src/geode_ddc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geode_ddc.c b/src/geode_ddc.c index 086dbb1..4691d12 100644 --- a/src/geode_ddc.c +++ b/src/geode_ddc.c @@ -155,7 +155,7 @@ GeodeI2CInit(ScrnInfoPtr pScrni, I2CBusPtr * ptr, char *name) bus->I2CGetBits = geode_ddc_getbits; bus->I2CPutBits = geode_ddc_putbits; - bus->DriverPrivate.ptr = (void *)(ddciobase); + bus->DriverPrivate.ptr = (void *)(unsigned long)(ddciobase); if (!xf86I2CBusInit(bus)) return FALSE; |