summaryrefslogtreecommitdiff
path: root/src/r128_cursor.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-08 18:15:47 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-11 15:31:17 +0200
commit80c9974b6cdc0147d777df6990b3f3aacd87969d (patch)
tree496132a74cb4fb0716e4f0b24d87aeeacff2946d /src/r128_cursor.c
parentcd4b39403d74f314e1c2cfa4cf0e4fe542891dc3 (diff)
r128: pci-rework conversion
compile-tested only
Diffstat (limited to 'src/r128_cursor.c')
-rw-r--r--src/r128_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_cursor.c b/src/r128_cursor.c
index 908ddb98..83212843 100644
--- a/src/r128_cursor.c
+++ b/src/r128_cursor.c
@@ -133,7 +133,7 @@ static void R128LoadCursorImage(ScrnInfoPtr pScrn, unsigned char *image)
R128InfoPtr info = R128PTR(pScrn);
unsigned char *R128MMIO = info->MMIO;
CARD32 *s = (pointer)image;
- CARD32 *d = (pointer)(info->FB + info->cursor_start);
+ CARD32 *d = (pointer)((CARD8*)info->FB + info->cursor_start);
int y;
CARD32 save;