(esetenv): cast to handle a setenv that takes a `char *val' which is

the case on Unicos


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9516 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-01-27 05:28:38 +00:00
parent 3e36288c1a
commit 061b36a50f

View File

@@ -43,6 +43,6 @@ RCSID("$Id$");
void
esetenv(const char *var, const char *val, int rewrite)
{
if (setenv ((char *)var, val, rewrite))
if (setenv ((char *)var, (char *)val, rewrite))
errx (1, "failed setting environment variable %s", var);
}