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

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 */