diff options
author | Jouk Jansen <joukj@hrem.stm.tudelft.nl> | 2003-11-21 08:24:40 +0000 |
---|---|---|
committer | Jouk Jansen <joukj@hrem.stm.tudelft.nl> | 2003-11-21 08:24:40 +0000 |
commit | 8b07e9d8a4342ec2a24fec37932398189ef80eb5 (patch) | |
tree | 7e3394f0f9145a1a7d43d40f055abd9b1a046538 /src/mesa | |
parent | a6a4257f76abbdd1ced815f3262525ee8b067ab0 (diff) |
Committing in .
- Added arbparse.c to OpenVMS makefile
- Added 2 type casts in a strcmp call to make my compiler happy.
Modified Files:
Mesa-newtree/src/mesa/main/arbparse.c
Mesa-newtree/src/mesa/main/descrip.mms
----------------------------------------------------------------------
Diffstat (limited to 'src/mesa')
-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 87de22468a..032b5cc503 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 aa08f3f2e0..67d4e2de81 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 |