diff options
Diffstat (limited to 'src/core/special-vars.c')
-rw-r--r-- | src/core/special-vars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/special-vars.c b/src/core/special-vars.c index 2556cd63..7291f469 100644 --- a/src/core/special-vars.c +++ b/src/core/special-vars.c @@ -106,7 +106,7 @@ static char *get_long_variable_value(const char *key, SERVER_REC *server, void *item, int *free_ret) { EXPANDO_FUNC func; - char *ret; + const char *ret; int type; *free_ret = FALSE; @@ -124,7 +124,7 @@ static char *get_long_variable_value(const char *key, SERVER_REC *server, /* environment variable? */ ret = g_getenv(key); if (ret != NULL) - return ret; + return (char *) ret; return NULL; } |