From fd9757d3b98b89b68dbf62bb9eee0f9dca30d95b Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Thu, 19 Aug 2004 06:51:48 +0000 Subject: silence compiler warnings --- src/mesa/drivers/glide/fxddtex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/glide') diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c index 419c9d17c6c..f0bb74f82bc 100644 --- a/src/mesa/drivers/glide/fxddtex.c +++ b/src/mesa/drivers/glide/fxddtex.c @@ -60,12 +60,12 @@ _mesa_halve2x2_teximage2d ( GLcontext *ctx, GLint dstWidth = srcWidth / 2; GLint dstHeight = srcHeight / 2; GLint srcRowStride = srcWidth * bytesPerPixel; - GLubyte *src = srcImage; + GLubyte *src = (GLubyte *)srcImage; GLubyte *dst = dstImage; GLuint bpt = 0; - GLubyte *_s; - GLubyte *_d; + GLubyte *_s = NULL; + GLubyte *_d = NULL; GLenum _t; if (texImage->TexFormat->MesaFormat == MESA_FORMAT_RGB565) { -- cgit v1.2.3