[cairo] [PATCH 2/8] Don't cast pointers to integers
Pavel Roskin
proski at gnu.org
Sat Aug 12 22:57:49 PDT 2006
From: Pavel Roskin <proski at gnu.org>
This causes warnings on 64-bit platforms that may indicate very serious
problems. Fortunately, not in this case.
Signed-off-by: Pavel Roskin <proski at gnu.org>
---
pixman/src/fbmmx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pixman/src/fbmmx.c b/pixman/src/fbmmx.c
index bc746cf..4d603bf 100644
--- a/pixman/src/fbmmx.c
+++ b/pixman/src/fbmmx.c
@@ -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;
More information about the cairo
mailing list