From: Eric Anholt Date: Tue, 10 Feb 2009 22:24:06 +0000 (-0800) Subject: trident: Fix signedness warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7ee7a549d9250b0020b2773f5146d2e1197c231;p=mesa.git trident: Fix signedness warning. --- diff --git a/src/mesa/drivers/dri/trident/trident_vb.c b/src/mesa/drivers/dri/trident/trident_vb.c index b231f5ef15e..055a9145953 100644 --- a/src/mesa/drivers/dri/trident/trident_vb.c +++ b/src/mesa/drivers/dri/trident/trident_vb.c @@ -402,7 +402,7 @@ void tridentInitVB( GLcontext *ctx ) tridentContextPtr tmesa = TRIDENT_CONTEXT(ctx); GLuint size = TNL_CONTEXT(ctx)->vb.Size; - tmesa->verts = (char *)ALIGN_MALLOC( size * 16 * 4, 32 ); + tmesa->verts = (GLubyte *)ALIGN_MALLOC( size * 16 * 4, 32 ); { static int firsttime = 1;