Cast away const qualifier to squash GCC warning.
This commit is contained in:
parent
7e2f16ba72
commit
a6a026d5f8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user