From 1567b7243f4799808ab93fbd962df14ce3af2d49 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sun, 21 Dec 2008 00:08:56 +0100 Subject: [PATCH] exa: A more correct fix. --- exa/exa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index 7b732ebf7..d7949fde9 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -72,8 +72,7 @@ exaGetPixmapOffset(PixmapPtr pPix) { ExaScreenPriv (pPix->drawable.pScreen); - return ((unsigned long)(unsigned long *)ExaGetPixmapAddress(pPix) - - (unsigned long)pExaScr->info->memoryBase); + return (CARD8 *)ExaGetPixmapAddress(pPix) - pExaScr->info->memoryBase; } void *