summaryrefslogtreecommitdiffstats
path: root/contrib/bmake
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-05-18 13:15:19 +0000
committersjg <sjg@FreeBSD.org>2013-05-18 13:15:19 +0000
commite51b2aaaf82ffefd70425f775cc9a980489590e8 (patch)
treee8871d37e7e964b7bbb4857a7dd7b6e3c9742726 /contrib/bmake
parent1fdedca7e37cd7b05b1c1ffa79a292a2580898e8 (diff)
downloadFreeBSD-src-e51b2aaaf82ffefd70425f775cc9a980489590e8.zip
FreeBSD-src-e51b2aaaf82ffefd70425f775cc9a980489590e8.tar.gz
Match what is in netbsd.
Diffstat (limited to 'contrib/bmake')
-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