mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
glsl: add cast to silence signed/unsigned comparison warning
This commit is contained in:
parent
a5c0969087
commit
068926aaea
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ match_function_by_name(exec_list *instructions, const char *name,
|
|||
|
||||
const char *prefix = "candidates are: ";
|
||||
|
||||
for (int i = -1; i < state->num_builtins_to_link; i++) {
|
||||
for (int i = -1; i < (int) state->num_builtins_to_link; i++) {
|
||||
glsl_symbol_table *syms = i >= 0 ? state->builtins_to_link[i]->symbols
|
||||
: state->symbols;
|
||||
f = syms->get_function(name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue