More const and signed correctness. Warnings now fit on one page!

This commit is contained in:
Peter Ammon
2012-01-14 22:48:53 -08:00
parent 9b133a978d
commit 60d1ac4fec
8 changed files with 20 additions and 25 deletions

View File

@@ -390,7 +390,7 @@ static void daemonize()
/**
Get environment variable value. The resulting string needs to be free'd.
*/
static wchar_t *fishd_env_get( wchar_t *key )
static wchar_t *fishd_env_get( const wchar_t *key )
{
char *nres, *nkey;
wchar_t *res;