diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-19 06:51:48 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-19 06:51:48 +0000 |
commit | fd9757d3b98b89b68dbf62bb9eee0f9dca30d95b (patch) | |
tree | a7ec5bd783f62956f52fb55c6c2cdd0209d1588d /src | |
parent | 740cbb1559284bf164d6e7e81c45db25a89885f4 (diff) |
silence compiler warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/glide/fxddtex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c index 419c9d17c6..f0bb74f82b 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) { |