Cast void* to pointer* to appease some compilers.
When this privates.h is included in C++ builds, the compiler complains about implicitly casting void* to void**. This small patch fixes that up. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
a71dbc03e6
commit
48cac27870
|
@ -177,7 +177,7 @@ static inline pointer *
|
||||||
dixLookupPrivateAddr(PrivatePtr *privates, const DevPrivateKey key)
|
dixLookupPrivateAddr(PrivatePtr *privates, const DevPrivateKey key)
|
||||||
{
|
{
|
||||||
assert (key->size == 0);
|
assert (key->size == 0);
|
||||||
return dixGetPrivateAddr(privates, key);
|
return (pointer *)dixGetPrivateAddr(privates, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue