diff options
Diffstat (limited to 'src')
-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; |