diff options
author | Brian Paul <[email protected]> | 2005-08-31 00:00:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-08-31 00:00:17 +0000 |
commit | f830f640b63a51a152cc17d176a4e285a9a5af9d (patch) | |
tree | 8fd7f5262b5ab9bee92c03288c0ffb9bd9b133f9 /src | |
parent | 513a553d4af8016a91479cddff3c0397ddd95279 (diff) |
fix a cast/assignment warning
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |