summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-09-19 15:38:15 +0000
committerBrian Paul <[email protected]>2003-09-19 15:38:15 +0000
commite4fcea2e06571b71a85b4f100c95d866a82f7c19 (patch)
treedf95d1d9eed897c1dd2fee2923163843ddca3228 /src/mesa/main/bufferobj.c
parent74c33393b4ebcc1616c0d8f1b6f43d658aed3f22 (diff)
Assorted casts to silence g++ warnings.
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 3ae35d5b4d5..e47065415db 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -226,7 +226,7 @@ _mesa_buffer_data( GLcontext *ctx, GLenum target, GLsizeiptrARB size,
new_data = _mesa_realloc( bufObj->Data, bufObj->Size, size );
if ( new_data != NULL ) {
- bufObj->Data = new_data;
+ bufObj->Data = (GLubyte *) new_data;
bufObj->Size = size;
bufObj->Usage = usage;