diff -ur xpp-1.5.orig/xpp.cxx xpp-1.5/xpp.cxx --- xpp-1.5.orig/xpp.cxx 2004-12-06 21:00:04.000000000 +0200 +++ xpp-1.5/xpp.cxx 2009-08-09 17:27:01.000000000 +0300 @@ -168,7 +168,7 @@ { char *tmp; - if ((tmp = strchr(dest,'/'))) { + if ((tmp = const_cast (strchr(dest,'/')))) { tmp[0] = '\0'; instance = tmp + 1; }