summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-28 11:23:01 +0900
committerJosé Fonseca <[email protected]>2008-02-28 13:06:52 +0900
commit510bc3535c4af68db71e5ffd19f3e21e10ec6004 (patch)
treefec77cdba41c1bc32324fc6373c5fd45bea38eab /src/gallium/auxiliary
parentbe2c419111b63f7e1a87a70f2714fdbff10d6c50 (diff)
gallium: Fix sign/unsign comparison.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_scan.c b/src/gallium/auxiliary/tgsi/util/tgsi_scan.c
index b7bbff1689f..cf6de1e82f3 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_scan.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_scan.c
@@ -100,7 +100,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
/* only first 32 regs will appear in this bitfield */
info->file_mask[file] |= (1 << i);
info->file_count[file]++;
- info->file_max[file] = MAX2(info->file_max[file], i);
+ info->file_max[file] = MAX2(info->file_max[file], (int)i);
if (file == TGSI_FILE_INPUT) {
info->input_semantic_name[info->num_inputs]