The recent fence sync changes have introduced a new warning that should be
addressed. I'm guessing it's just a cast to a less-specific struct ptr, but I
haven't looked at the code to be certain:
sync.c: In function 'SyncCreate':
sync.c:889: warning: assignment from incompatible pointer type
sync.c:889:8: warning: incompatible pointer types assigning to 'SyncObject *'
(aka 'struct _SyncObject *') from 'SyncFence *' (aka 'struct _SyncFence *')
pSync = dixAllocateObjectWithPrivates(SyncFence,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
397dfd9f (James Jones 2010-06-25 17:59:14 -0700 887) case
SYNC_FENCE:
397dfd9f (James Jones 2010-06-25 17:59:14 -0700 888) resType
= RTFence;
397dfd9f (James Jones 2010-06-25 17:59:14 -0700 889) pSync =
dixAllocateObjectWithPrivates(SyncFence,
397dfd9f (James Jones 2010-06-25 17:59:14 -0700 890)
PRIVATE_SYNC_FENCE);
99daf419 (James Jones 2010-06-28 14:51:54 -0700 891) break;
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel