diff -ur localshell-1.3.1.orig/src/config.cxx localshell-1.3.1/src/config.cxx --- localshell-1.3.1.orig/src/config.cxx 2009-01-09 03:40:11.000000000 +0200 +++ localshell-1.3.1/src/config.cxx 2009-08-09 18:15:17.000000000 +0300 @@ -121,7 +121,7 @@ // PRIORITY,SHELL,ALLOWED long priority = atol(argvalue); - char* shell = strstr(argvalue,","); + char* shell = const_cast (strstr(argvalue,",")); if(NULL == shell || '\0' == shell[1] ) { fprintf(stderr,"%s: badly formatted entry (shell):%s\n",PACKAGE,argvalue); return EINVAL;