From: Brian Paul Date: Wed, 31 Aug 2005 00:00:17 +0000 (+0000) Subject: fix a cast/assignment warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f830f640b63a51a152cc17d176a4e285a9a5af9d;p=mesa.git fix a cast/assignment warning --- 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);