From: Alan Hourihane Date: Fri, 14 Jan 2005 13:11:34 +0000 (+0000) Subject: silence a warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faf96a157df67281ece24fe19a72e7b557e628da;p=mesa.git silence a warning --- diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c index 3e89353ce1e..b28732d80dc 100644 --- a/src/mesa/drivers/dri/unichrome/via_tris.c +++ b/src/mesa/drivers/dri/unichrome/via_tris.c @@ -1102,6 +1102,6 @@ void viaInitTriFuncs(GLcontext *ctx) _tnl_init_vertices( ctx, ctx->Const.MaxArrayLockSize + 12, (6 + 2*ctx->Const.MaxTextureUnits) * sizeof(GLfloat) ); - vmesa->verts = (char *)tnl->clipspace.vertex_buf; + vmesa->verts = (GLubyte *)tnl->clipspace.vertex_buf; }