summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/grammar.c
diff options
context:
space:
mode:
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 98ccbb1a332..af824f33843 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';