summaryrefslogtreecommitdiff
path: root/src/i810_cursor.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-03-11 12:14:51 -0700
committerEric Anholt <eric@anholt.net>2008-03-11 12:14:51 -0700
commit5f272471878c896038b2c3f2bf704655d908828d (patch)
tree85b3e51e6520ad490648c9b8dcc3e8ab3bdba5c1 /src/i810_cursor.c
parent9a62d3b598cca3c28fa8b6313bba82983cc29ecf (diff)
Nuke more CARD* types from i810 driver. Untested.
Diffstat (limited to 'src/i810_cursor.c')
-rw-r--r--src/i810_cursor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/i810_cursor.c b/src/i810_cursor.c
index c293a3d5..30f42d14 100644
--- a/src/i810_cursor.c
+++ b/src/i810_cursor.c
@@ -130,8 +130,8 @@ static Bool I810UseHWCursorARGB (ScreenPtr pScreen, CursorPtr pCurs)
static void I810LoadCursorARGB (ScrnInfoPtr pScrn, CursorPtr pCurs)
{
I810Ptr pI810 = I810PTR(pScrn);
- CARD32 *pcurs = (CARD32 *) (pI810->FbBase + pI810->CursorStart);
- CARD32 *image = (CARD32 *) pCurs->bits->argb;
+ uint32_t *pcurs = (uint32_t *) (pI810->FbBase + pI810->CursorStart);
+ uint32_t *image = (uint32_t *) pCurs->bits->argb;
int x, y, w, h;
#ifdef ARGB_CURSOR
@@ -171,7 +171,7 @@ static void
I810LoadCursorImage(ScrnInfoPtr pScrn, unsigned char *src)
{
I810Ptr pI810 = I810PTR(pScrn);
- CARD8 *pcurs = (CARD8 *) (pI810->FbBase + pI810->CursorStart);
+ uint8_t *pcurs = (uint8_t *) (pI810->FbBase + pI810->CursorStart);
int x, y;
#ifdef ARGB_CURSOR