From e4fcea2e06571b71a85b4f100c95d866a82f7c19 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Sep 2003 15:38:15 +0000 Subject: Assorted casts to silence g++ warnings. --- src/mesa/swrast_setup/ss_vb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast_setup') diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c index 29bad8eefe..869d519832 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; } -- cgit v1.2.3