diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-06-30 13:30:07 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-06-30 13:31:42 -0700 |
commit | 69aa963d7ab8256d0e932e1a5a98599f168b8836 (patch) | |
tree | 8886ce65cbae0e180e2b8f76af3c47bbe8dfe556 | |
parent | 91d8778176f1db54c8222a95315610a043198648 (diff) |
Fix build by using CARD32 instead of uint32_t, like we do everywhere else.
-rw-r--r-- | src/g80_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g80_output.c b/src/g80_output.c index e28b584..4c8448f 100644 --- a/src/g80_output.c +++ b/src/g80_output.c @@ -211,9 +211,9 @@ fail: return FALSE; } -static uint32_t i2cAddr(const int port) +static CARD32 i2cAddr(const int port) { - const uint32_t base = (port > 3) ? 0x0000E1E0 : 0x0000E138; + const CARD32 base = (port > 3) ? 0x0000E1E0 : 0x0000E138; return base + port * 0x18; } @@ -297,7 +297,7 @@ ProbeDDC(I2CBusPtr i2c) G80Ptr pNv = G80PTR(pScrn); xf86MonPtr monInfo = NULL; const int bus = i2c->DriverPrivate.val; - const uint32_t addr = i2cAddr(bus); + const CARD32 addr = i2cAddr(bus); xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Probing for EDID on I2C bus %i...\n", bus); |