Cast away const qualifier to squash GCC warning.

This commit is contained in:
Alexander Kabaev 2007-04-04 03:29:02 +00:00
parent 7e2f16ba72
commit a6a026d5f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168348

View File

@ -126,7 +126,7 @@ env_setenv(const char *name, int flags, const void *value,
if (flags & EV_VOLATILE) {
ev->ev_value = strdup(value);
} else {
ev->ev_value = value;
ev->ev_value = (char *)value;
}
/* Keep the flag components that are relevant */