exa: A more correct fix.
This commit is contained in:
parent
2db7b66863
commit
1567b7243f
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue