diff options
author | Bernardo Innocenti <bernie@codewiz.org> | 2008-01-14 01:43:16 +0100 |
---|---|---|
committer | Bernardo Innocenti <bernie@codewiz.org> | 2008-01-14 21:38:08 +0100 |
commit | db25e615f81ea94e1c3e82a408c09d915389d3b7 (patch) | |
tree | 2d2917836cedbf852b0f75c5848393ac15d1fb0c /src/amd_gx_driver.c | |
parent | ba2880433912cd63c68cd81682d8e48c3cf77a09 (diff) |
amd_drv: Remove a few (harmless) warnings
Signed-off-by: Bernardo Innocenti <bernie@codewiz.org>
Diffstat (limited to 'src/amd_gx_driver.c')
-rw-r--r-- | src/amd_gx_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c index 0f5212a..28cb067 100644 --- a/src/amd_gx_driver.c +++ b/src/amd_gx_driver.c @@ -490,7 +490,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags) &pGeode->tryHWCursor); if (!xf86GetOptValInteger(GeodeOptions, GX_OPTION_FBSIZE, - &(pGeode->FBAvail))) + (int *)&(pGeode->FBAvail))) pGeode->FBAvail = 0; /* For compatability - allow SWCursor too */ @@ -532,7 +532,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags) pGeode->NoOfColorExpandLines = 0; xf86GetOptValInteger(GeodeOptions, GX_OPTION_OSM_CLR_BUFS, - &(pGeode->exaBfrSz)); + (int *)&(pGeode->exaBfrSz)); if (pGeode->exaBfrSz <= 0) pGeode->exaBfrSz = 0; |