summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-12-21 00:08:56 +0100
committerMaarten Maathuis <madman2003@gmail.com>2008-12-21 00:08:56 +0100
commit1567b7243f4799808ab93fbd962df14ce3af2d49 (patch)
treead32bb3e14214f6d5fe9e8304d217ead2c49c4e1 /exa/exa.c
parent2db7b66863ae6055c3ce13c88b36d620de8a4d75 (diff)
exa: A more correct fix.
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c3
1 files changed, 1 insertions, 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 *