From 5222c58a68d51da1bc7d552b74b5cf1a2f667ccd Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Fri, 28 Oct 2005 12:43:41 +0000 Subject: [PATCH] Silence gcc-4 warnings. --- src/mesa/drivers/dri/common/spantmp2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/common/spantmp2.h b/src/mesa/drivers/dri/common/spantmp2.h index fdf7fbf..50f3cf5 100644 --- a/src/mesa/drivers/dri/common/spantmp2.h +++ b/src/mesa/drivers/dri/common/spantmp2.h @@ -421,7 +421,7 @@ static void TAG2(ReadRGBASpan,_MMX)( GLcontext *ctx, CLIPSPAN(x,y,n,x1,n1,i); { - const char * src = GET_PTR( x1, y ); + const void * src = GET_PTR( x1, y ); #if (SPANTMP_PIXEL_FMT == GL_RGB) && \ (SPANTMP_PIXEL_TYPE == GL_UNSIGNED_SHORT_5_6_5) _generic_read_RGBA_span_RGB565_MMX( src, rgba[i], n1 ); @@ -464,7 +464,7 @@ static void TAG2(ReadRGBASpan,_SSE2)( GLcontext *ctx, CLIPSPAN(x,y,n,x1,n1,i); { - const char * src = GET_PTR( x1, y ); + const void * src = GET_PTR( x1, y ); _generic_read_RGBA_span_BGRA8888_REV_SSE2( src, rgba[i], n1 ); } } @@ -505,7 +505,7 @@ static void TAG2(ReadRGBASpan,_SSE)( GLcontext *ctx, CLIPSPAN(x,y,n,x1,n1,i); { - const char * src = GET_PTR( x1, y ); + const void * src = GET_PTR( x1, y ); _generic_read_RGBA_span_BGRA8888_REV_SSE( src, rgba[i], n1 ); } } -- 2.7.4