[PATCH xserver (v4) 08/10] Create/Destroy/Trigger/Reset/Query Fence Sync objs

Keith Packard keithp at keithp.com
Mon Dec 6 17:19:26 PST 2010


On Mon, 6 Dec 2010 14:53:22 -0800, James Jones <jajones at nvidia.com> wrote:

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

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

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101206/d9536073/attachment.pgp>


More information about the xorg-devel mailing list