trident: Fix signedness warning.
authorEric Anholt <eric@anholt.net>
Tue, 10 Feb 2009 22:24:06 +0000 (14:24 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 11 Feb 2009 02:45:18 +0000 (18:45 -0800)
src/mesa/drivers/dri/trident/trident_vb.c

index b231f5e..055a914 100644 (file)
@@ -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;