diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/arbparse.c | 2 | ||||
-rw-r--r-- | src/mesa/main/descrip.mms | 3 |
2 files changed, 4 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; diff --git a/src/mesa/main/descrip.mms b/src/mesa/main/descrip.mms index aa08f3f2e09..67d4e2de817 100644 --- a/src/mesa/main/descrip.mms +++ b/src/mesa/main/descrip.mms @@ -20,6 +20,7 @@ SOURCES =accum.c \ api_loopback.c \ api_noop.c \ api_validate.c \ + arbparse.c \ arbfragparse.c \ arbprogram.c \ arbvertparse.c \ @@ -77,6 +78,7 @@ OBJECTS=accum.obj,\ api_loopback.obj,\ api_noop.obj,\ api_validate.obj,\ +arbparse.obj,\ arbfragparse.obj,\ arbprogram.obj,\ arbvertparse.obj,\ @@ -148,6 +150,7 @@ accum.obj : accum.c api_loopback.obj : api_loopback.c api_noop.obj : api_noop.c api_validate.obj : api_validate.c +arbparse.obj : arbparse.c arbfragparse.obj : arbfragparse.c arbprogram.obj : arbprogram.c arbvertparse.obj : arbvertparse.c |