diff options
author | Matt Turner <mattst88@gmail.com> | 2008-05-12 12:06:33 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2008-05-12 12:06:33 -0400 |
commit | 908b7b940e3ef296836bc94680ebb8ab67650e31 (patch) | |
tree | 20edaba5bffdef2b3625f73ff5d297d3b0c952cb /src/radeon_dga.c | |
parent | 87e66ce76430890ab4939ffcd42f72b9288eb598 (diff) |
Replace CARD{8,16,32} with uint{8,16,32}_t
As has been done with xf86-video-intel, replace all CARD* datatypes with
uint*_t datatypes available from stdint.h.
Diffstat (limited to 'src/radeon_dga.c')
-rw-r--r-- | src/radeon_dga.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/radeon_dga.c b/src/radeon_dga.c index ab5d278d..d623fe43 100644 --- a/src/radeon_dga.c +++ b/src/radeon_dga.c @@ -374,7 +374,7 @@ static void RADEON_FillRect(ScrnInfoPtr pScrn, /* XXX */ if (info->useEXA) { /* - info->exa.accel.PrepareSolid(pScrn, color, GXcopy, (CARD32)(~0)); + info->exa.accel.PrepareSolid(pScrn, color, GXcopy, (uint32_t)(~0)); info->exa.accel.Solid(pScrn, x, y, x+w, y+h); info->exa.accel.DoneSolid(); */ @@ -383,7 +383,7 @@ static void RADEON_FillRect(ScrnInfoPtr pScrn, #endif /* USE_EXA */ #ifdef USE_XAA if (!info->useEXA) { - (*info->accel->SetupForSolidFill)(pScrn, color, GXcopy, (CARD32)(~0)); + (*info->accel->SetupForSolidFill)(pScrn, color, GXcopy, (uint32_t)(~0)); (*info->accel->SubsequentSolidFillRect)(pScrn, x, y, w, h); if (pScrn->bitsPerPixel == info->CurrentLayout.bitsPerPixel) RADEON_MARK_SYNC(info, pScrn); @@ -404,7 +404,7 @@ static void RADEON_BlitRect(ScrnInfoPtr pScrn, /* XXX */ if (info->useEXA) { /* - info->exa.accel.PrepareCopy(pScrn, color, GXcopy, (CARD32)(~0)); + info->exa.accel.PrepareCopy(pScrn, color, GXcopy, (uint32_t)(~0)); info->exa.accel.Copy(pScrn, srcx, srcy, dstx, dsty, w, h); info->exa.accel.DoneCopy(); */ @@ -414,7 +414,7 @@ static void RADEON_BlitRect(ScrnInfoPtr pScrn, #ifdef USE_XAA if (!info->useEXA) { (*info->accel->SetupForScreenToScreenCopy)(pScrn, xdir, ydir, - GXcopy, (CARD32)(~0), -1); + GXcopy, (uint32_t)(~0), -1); (*info->accel->SubsequentScreenToScreenCopy)(pScrn, srcx, srcy, dstx, dsty, w, h); if (pScrn->bitsPerPixel == info->CurrentLayout.bitsPerPixel) @@ -433,7 +433,7 @@ static void RADEON_BlitTransRect(ScrnInfoPtr pScrn, info->XAAForceTransBlit = TRUE; (*info->accel->SetupForScreenToScreenCopy)(pScrn, xdir, ydir, - GXcopy, (CARD32)(~0), color); + GXcopy, (uint32_t)(~0), color); info->XAAForceTransBlit = FALSE; |