From e51b2aaaf82ffefd70425f775cc9a980489590e8 Mon Sep 17 00:00:00 2001 From: sjg Date: Sat, 18 May 2013 13:15:19 +0000 Subject: Match what is in netbsd. --- contrib/bmake/var.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/bmake/var.c') 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)) { -- cgit v1.1