summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/spantmp2.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-10-28 12:43:41 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-10-28 12:43:41 +0000
commit5222c58a68d51da1bc7d552b74b5cf1a2f667ccd (patch)
tree03a3f0560216e07422a63609e8ca068c0f763483 /src/mesa/drivers/dri/common/spantmp2.h
parentdc44372ba7ce4d068d87e983f37a2e31a61f8997 (diff)
Silence gcc-4 warnings.
Diffstat (limited to 'src/mesa/drivers/dri/common/spantmp2.h')
-rw-r--r--src/mesa/drivers/dri/common/spantmp2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/common/spantmp2.h b/src/mesa/drivers/dri/common/spantmp2.h
index fdf7fbf40f..50f3cf5581 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 );
}
}