On Mon, 6 Dec 2010 14:53:22 -0800, James Jones <[email protected]> wrote:

> +    case SYNC_FENCE:
> +     resType = RTFence;
> +     pSync = (SyncObject *)dixAllocateObjectWithPrivates(SyncFence,
> +                                                         PRIVATE_SYNC_FENCE);

dixAllocateObjectWithPrivate returns void *, no need for a cast here.

-- 
[email protected]

Attachment: pgpKWMyv2lVFm.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to