From f830f640b63a51a152cc17d176a4e285a9a5af9d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 31 Aug 2005 00:00:17 +0000 Subject: [PATCH] fix a cast/assignment warning --- src/mesa/drivers/dri/r300/r300_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 9d73281f0b9..f88e5ebb7a1 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -189,7 +189,7 @@ static void r300BufferData(GLcontext *ctx, GLenum target, GLsizeiptrARB size, _mesa_buffer_data(ctx, target, size, data, usage, obj); return ; } - obj->Data = ((char *)rmesa->radeon.radeonScreen->gartTextures.map) + offset; + obj->Data = ((GLubyte *)rmesa->radeon.radeonScreen->gartTextures.map) + offset; if (data) memcpy(obj->Data, data, size); -- 2.30.2