gallium: Fix sign/unsign comparison.

This commit is contained in:
José Fonseca 2008-02-28 11:23:01 +09:00
parent be2c419111
commit 510bc3535c
1 changed files with 1 additions and 1 deletions

View File

@ -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]