[cairo-commit] pixman/src

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Jan 22 11:42:51 PST 2007


 pixman/src/fbmmx.c |    3 +++
 1 files changed, 3 insertions(+)

New commits:
diff-tree 3b7751279c034caf2f86464cd1936d7ce1736ccc (from c316b7220dcd59653533a487d81c5e3d71729218)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Jan 22 14:42:48 2007 -0500

    [pixman/src/fbmmx.c] Add comment around M64
    
    /* cast to void* in the middle to shut gcc up warning about
     * "dereferencing type-punned pointers".
     */

diff --git a/pixman/src/fbmmx.c b/pixman/src/fbmmx.c
index abe52b9..9c263f8 100644
--- a/pixman/src/fbmmx.c
+++ b/pixman/src/fbmmx.c
@@ -157,6 +157,9 @@ static const MMXData c =
 #define MC(x) c.mmx_##x
 #endif
 
+/* cast to void* in the middle to shut gcc up warning about
+ * "dereferencing type-punned pointers".
+ */
 #define M64(x) (*(__m64*)(void*)(&x))
 
 static __inline__ __m64


More information about the cairo-commit mailing list