diff options
Diffstat (limited to 'src/mesa/main/arbparse.c')
-rw-r--r-- | src/mesa/main/arbparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/arbparse.c b/src/mesa/main/arbparse.c index 87de22468a2..032b5cc5035 100644 --- a/src/mesa/main/arbparse.c +++ b/src/mesa/main/arbparse.c @@ -2735,7 +2735,7 @@ var_cache_find (struct var_cache *va, byte * name) struct var_cache *first = va; while (va) { - if (!strcmp (name, va->name)) { + if (!strcmp ( (const char*) name, (const char*) va->name)) { if (va->type == vt_alias) return var_cache_find (first, va->name); return va; |