[PATCH][TRIVIAL] Silence compile warnings in xf86-video-ati

Adam Jackson ajax at nwnk.net
Wed Mar 15 16:00:03 PST 2006


On Wednesday 08 March 2006 15:47, Erik Andrén wrote:
> Hi, attached is a (trivial) patch to silence two compiler warnings in
> atidri.c and r128_dri.c.

Minor point: the frameBufferPhysicalAddress member is defined as type pointer, 
which typedefs to either void * or char * depending on (mumble).  My 
understanding is this is supposed to be a workaround for sub-ANSI compilers 
that don't understand void *.  Are there c89 compilers that don't understand 
void* still?

Style-wise it should still be cast to pointer just for consistency, but 
otherwise +1.

- ajax
-------------- 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/attachments/20060315/68379f89/attachment.pgp>


More information about the xorg mailing list