From c45d8f2e987bf7af8ea5f2e76ff5a59b77d096f1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 Jul 2013 10:00:54 -0600 Subject: [PATCH] tgsi: s/unsigned/int/ to silence MSVC warning --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index a4737822566..a07df5c4905 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -285,7 +285,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens, if (procType == TGSI_PROCESSOR_GEOMETRY) { unsigned input_primitive = info->properties[i].data[0]; int num_verts = u_vertices_per_prim(input_primitive); - unsigned j; + int j; info->file_count[TGSI_FILE_INPUT] = num_verts; info->file_max[TGSI_FILE_INPUT] = MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); -- 2.30.2