projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae7aa3
)
glsl: add cast to silence signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Mon, 31 Jan 2011 21:06:38 +0000
(14:06 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 31 Jan 2011 21:09:24 +0000
(14:09 -0700)
src/glsl/ast_function.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_function.cpp
b/src/glsl/ast_function.cpp
index b0f95dd73b65b706c783151173c548d410bd990f..28d49ee0daeb25a946f7a057b439aeaf805ef851 100644
(file)
--- a/
src/glsl/ast_function.cpp
+++ b/
src/glsl/ast_function.cpp
@@
-223,7
+223,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);