Mesa (master): trident: Fix signedness warning.

Eric Anholt anholt at kemper.freedesktop.org
Wed Feb 11 02:45:37 UTC 2009


Module: Mesa
Branch: master
Commit: e7ee7a549d9250b0020b2773f5146d2e1197c231
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7ee7a549d9250b0020b2773f5146d2e1197c231

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Feb 10 14:24:06 2009 -0800

trident: Fix signedness warning.

---

 src/mesa/drivers/dri/trident/trident_vb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/trident/trident_vb.c b/src/mesa/drivers/dri/trident/trident_vb.c
index b231f5e..055a914 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;




More information about the mesa-commit mailing list