mmx: Squash a warning by making the argument to ldl_u() const
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 8 Mar 2012 14:29:46 +0000 (09:29 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 8 Mar 2012 14:29:46 +0000 (09:29 -0500)
pixman/pixman-mmx.c

index fe31b08..f9efd73 100644 (file)
@@ -336,7 +336,7 @@ static __inline__ __m64 ldq_u(uint64_t *p)
 #endif
 }
 
-static __inline__ uint32_t ldl_u(uint32_t *p)
+static __inline__ uint32_t ldl_u(const uint32_t *p)
 {
 #ifdef USE_X86_MMX
     /* x86's alignment restrictions are very relaxed. */