From: José Fonseca Date: Thu, 12 Jun 2008 14:34:21 +0000 (+0900) Subject: draw: Fix MSVC integer size conversion warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa816d114ee90d0c5b861f622c0063b54f7eb612;p=mesa.git draw: Fix MSVC integer size conversion warning. --- diff --git a/src/gallium/auxiliary/draw/draw_pt_varray.c b/src/gallium/auxiliary/draw/draw_pt_varray.c index 2cc08a9e939..46e722a154e 100644 --- a/src/gallium/auxiliary/draw/draw_pt_varray.c +++ b/src/gallium/auxiliary/draw/draw_pt_varray.c @@ -172,7 +172,7 @@ static void varray_destroy(struct draw_pt_front_end *frontend) struct draw_pt_front_end *draw_pt_varray(struct draw_context *draw) { - unsigned i; + ushort i; struct varray_frontend *varray = CALLOC_STRUCT(varray_frontend); if (varray == NULL) return NULL;