summaryrefslogtreecommitdiff
path: root/src/mesa/shader/grammar.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-07-20 21:12:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-07-20 21:12:56 +0000
commitbd997cd11fd30908fe35bacd5bfb0c2dd5fdde30 (patch)
tree0dff830374b260a96611cb784d51782d35b114f8 /src/mesa/shader/grammar.c
parent5f3b3a3827a2056f09aff98ac6e6204e160e238c (diff)
fix compare w/ zero warnings (bug #988766)
Diffstat (limited to 'src/mesa/shader/grammar.c')
-rw-r--r--src/mesa/shader/grammar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/grammar.c b/src/mesa/shader/grammar.c
index 98ccbb1a33..af824f3384 100644
--- a/src/mesa/shader/grammar.c
+++ b/src/mesa/shader/grammar.c
@@ -2754,7 +2754,7 @@ int grammar_destroy (grammar id)
void grammar_get_last_error (byte *text, unsigned int size, int *pos)
{
- unsigned int len = 0, dots_made = 0;
+ int len = 0, dots_made = 0;
const byte *p = error_message;
*text = '\0';