mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
Cast away const qualifier to squash GCC warning.
This commit is contained in:
parent
7e2f16ba72
commit
a6a026d5f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168348
@ -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