summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-03-08 09:29:46 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-03-08 09:29:46 -0500
commit62df04eb257d16fbb4449855a48f6fdaf567e201 (patch)
treee0f7cf191d2c02739729b5a0159183ceeab8fd54
parent85943733cbd7b62991ee962aa22f28bc5d1be353 (diff)
mmx: Squash a warning by making the argument to ldl_u() const
-rw-r--r--pixman/pixman-mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index fe31b08..f9efd73 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -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. */