[Bug 15151] Compile warning fixes.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 20 18:56:44 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=15151
--- Comment #2 from Paulo César Pereira de Andrade <pcpa at mandriva.com.br> 2008-03-20 18:56:43 PST ---
(In reply to comment #1)
> Be careful, IIRC, some of the void * were to support the libpciaccess vs.
> non-libpciaccess cases.
I guessed it could cause problems :-), and tested compilation with
libpciaccess enabled and disabled, and fixed 2 cases, by casting to
unsigned char *, where it would not compile due to mixing void * and
unsigned char * in pointer arithmetic. Both cases, when libpciaccess was
disabled.
There should not exist any other problems as math with void * is the
same as math with signed or unsiged char pointers.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the xorg-driver-ati
mailing list