(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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user