aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-07-08 10:00:54 -0600
committerBrian Paul <[email protected]>2013-07-12 08:19:50 -0600
commitc45d8f2e987bf7af8ea5f2e76ff5a59b77d096f1 (patch)
treef19fda200fef46e94d0a3b9f78244d066507e182 /src
parent2cfd768473896a537b160111005b4ffc9e1693a4 (diff)
tgsi: s/unsigned/int/ to silence MSVC warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.c2
1 files changed, 1 insertions, 1 deletions
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);