From 8b07e9d8a4342ec2a24fec37932398189ef80eb5 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 21 Nov 2003 08:24:40 +0000 Subject: [PATCH] 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 ---------------------------------------------------------------------- --- src/mesa/main/arbparse.c | 2 +- src/mesa/main/descrip.mms | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2