On 12/28/10 4:54 AM, "Daniel Stone" <[email protected]> wrote:
> SyncFence is castable to SyncObject. > > Signed-off-by: Daniel Stone <[email protected]> > --- > Xext/sync.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Xext/sync.c b/Xext/sync.c > index d495116..7db4dbf 100644 > --- a/Xext/sync.c > +++ b/Xext/sync.c > @@ -886,8 +886,8 @@ SyncCreate(ClientPtr client, XID id, unsigned char type) > break; > case SYNC_FENCE: > resType = RTFence; > - pSync = dixAllocateObjectWithPrivates(SyncFence, > - PRIVATE_SYNC_FENCE); > + pSync = (SyncObject *)dixAllocateObjectWithPrivates(SyncFence, > + > PRIVATE_SYNC_FENCE); This change is already in-flight as part of my general sync cleanups patch. Thanks, -James > break; > default: > return NULL; > -- > 1.7.2.3 > > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel > nvpublic _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
