[PATCH 3/3] Fix compiler warnings in hw/xfree86/os-support/solaris
Julien Cristau
jcristau at debian.org
Tue Nov 30 01:33:35 PST 2010
On Mon, Nov 29, 2010 at 20:22:19 -0800, Alan Coopersmith wrote:
> sun_init.c: In function `xf86OpenConsole':
> sun_init.c:99: warning: cast does not match function type
> sun_init.c:74: warning: unused variable `FreeVTslot'
> sun_init.c: In function `xf86UseMsg':
> sun_init.c:417: warning: old-style parameter declaration
>
> sun_vid.c: In function `solUnMapVidMem':
> sun_vid.c:162: warning: long unsigned int format, pointer arg (arg 6)
> sun_vid.c: In function `xf86ReadBIOS':
> sun_vid.c:217: warning: long unsigned int format, pointer arg (arg 5)
> sun_vid.c:217: warning: long unsigned int format, int arg (arg 6)
>
> sun_agp.c: In function `xf86EnableAGP':
> sun_agp.c:321: warning: unsigned int format, CARD32 arg (arg 4)
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> hw/xfree86/os-support/solaris/sun_agp.c | 2 +-
> hw/xfree86/os-support/solaris/sun_init.c | 7 +++----
> hw/xfree86/os-support/solaris/sun_vid.c | 5 ++---
> 3 files changed, 6 insertions(+), 8 deletions(-)
>
Not that I can test this or anything, but looks like a good change, so
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list