summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/privates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/privates.h b/include/privates.h
index 4fed7d058..5ba935817 100644
--- a/include/privates.h
+++ b/include/privates.h
@@ -177,7 +177,7 @@ static inline pointer *
dixLookupPrivateAddr(PrivatePtr *privates, const DevPrivateKey key)
{
assert (key->size == 0);
- return dixGetPrivateAddr(privates, key);
+ return (pointer *)dixGetPrivateAddr(privates, key);
}
/*