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 b231f5ef15ead00a1d3d65565fc3a7cc45754f11..055a914595386c37fb95bb15ec711b738a7b4474 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;