diff options
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/environment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/environment.c b/lib/libstand/environment.c index 1a3cfc7..c30b730 100644 --- a/lib/libstand/environment.c +++ b/lib/libstand/environment.c @@ -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 */ |