draw: Fix MSVC integer size conversion warning.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 12 Jun 2008 14:34:21 +0000 (23:34 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 19 Jun 2008 01:47:54 +0000 (10:47 +0900)
src/gallium/auxiliary/draw/draw_pt_varray.c

index 2cc08a9e9393c2fcb17bb7fd5f5eaad964af2490..46e722a154e4a640b71475f9a71f17f7ba47215e 100644 (file)
@@ -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;