summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/bmake/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bmake/var.c b/contrib/bmake/var.c
index bbf7269..efb6514 100644
--- a/contrib/bmake/var.c
+++ b/contrib/bmake/var.c
@@ -545,7 +545,7 @@ Var_Delete(const char *name, GNode *ctxt)
if (strchr(name, '$')) {
cp = Var_Subst(NULL, name, VAR_GLOBAL, 0);
} else {
- cp = name;
+ cp = (char *)name;
}
ln = Hash_FindEntry(&ctxt->context, cp);
if (DEBUG(VAR)) {
OpenPOWER on IntegriCloud