summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup/ss_vb.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/swrast_setup/ss_vb.c
parent74c33393b4ebcc1616c0d8f1b6f43d658aed3f22 (diff)
Assorted casts to silence g++ warnings.
Diffstat (limited to 'src/mesa/swrast_setup/ss_vb.c')
-rw-r--r--src/mesa/swrast_setup/ss_vb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c
index 29bad8eefea..869d519832d 100644
--- a/src/mesa/swrast_setup/ss_vb.c
+++ b/src/mesa/swrast_setup/ss_vb.c
@@ -46,7 +46,7 @@ static void do_import( struct vertex_buffer *VB,
GLuint count = VB->Count;
if (!to->Ptr) {
- to->Ptr = ALIGN_MALLOC( VB->Size * 4 * sizeof(GLchan), 32 );
+ to->Ptr = (GLubyte *) ALIGN_MALLOC( VB->Size * 4 * sizeof(GLchan), 32 );
to->Type = CHAN_TYPE;
}