diff options
Diffstat (limited to 'common/env_common.c')
| -rw-r--r-- | common/env_common.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/common/env_common.c b/common/env_common.c index 9be4cc1db..3201135ea 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -283,7 +283,7 @@ int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf)  		for (nxt=i; env_get_char(nxt) != '\0'; ++nxt)  			; -		lval = env_get_addr(i); +		lval = (char *)env_get_addr(i);  		rval = strchr(lval, '=');  		if (rval != NULL) {  			vallen = rval - lval; |