[pixman] Don't cast pointers to integers

This causes warnings on 64-bit platforms that may indicate very serious
problems.  Fortunately, not in this case.
This commit is contained in:
Pavel Roskin 2006-08-13 04:41:43 -04:00 committed by Behdad Esfahbod
parent abd16e47d6
commit b29cc61fac

View file

@ -2401,7 +2401,7 @@ fbCopyAreammx (FbPixels *pSrc,
d += 2;
}
while (w >= 4 && ((unsigned int)d & 7))
while (w >= 4 && ((unsigned long)d & 7))
{
*(CARD32 *)d = *(CARD32 *)s;