diff options
author | kan <kan@FreeBSD.org> | 2007-04-04 03:29:02 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-04-04 03:29:02 +0000 |
commit | 36e8f3f4fbbd7d52baf054a14180dc8f20c2898f (patch) | |
tree | 3c98532450070d557fbdf2e2fc421c7f3f34a418 /lib/libstand | |
parent | 035e85000744a1fbcfce61c4528666d8fdc55104 (diff) | |
download | FreeBSD-src-36e8f3f4fbbd7d52baf054a14180dc8f20c2898f.zip FreeBSD-src-36e8f3f4fbbd7d52baf054a14180dc8f20c2898f.tar.gz |
Cast away const qualifier to squash GCC warning.
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 */ |