Index: src/StrUtil.cc
--- src/StrUtil.cc.orig
+++ src/StrUtil.cc
@@ -135,7 +135,7 @@ namespace StrUtil {
 	//#############################################################################
 	void quotemeta(string &s) {
 		string::size_type pos = 0;
-		char *c;
+		const char *c;
 
 		while (pos < s.size()) {
 			if ((c = strchr("\"\\", s[pos])) != 0) {
