diff -ur tardy-1.17.orig/common/arglex.cc tardy-1.17/common/arglex.cc --- tardy-1.17.orig/common/arglex.cc 2008-06-23 05:50:02.000000000 +0300 +++ tardy-1.17/common/arglex.cc 2009-08-09 19:46:21.000000000 +0300 @@ -418,7 +418,7 @@ { char *eqp; - eqp = strchr(arg, '='); + eqp = const_cast (strchr(arg, '=')); if (eqp) { pushback = eqp + 1; diff -ur tardy-1.17.orig/common/trace.cc tardy-1.17/common/trace.cc --- tardy-1.17.orig/common/trace.cc 2008-06-23 05:50:02.000000000 +0300 +++ tardy-1.17/common/trace.cc 2009-08-09 19:48:36.000000000 +0300 @@ -256,7 +256,7 @@ trace_printf("%s = '", name); if (*vp < ' ' || *vp > '~' || strchr("(){}[]", *vp)) { - char *s; + const char *s; s = strchr("\bb\nn\tt\rr\ff", *vp); if (s) @@ -283,7 +283,7 @@ trace_printf("%s = '", name); if (*vp < ' ' || *vp > '~' || strchr("(){}[]", *vp)) { - char *s; + const char *s; s = strchr("\bb\nn\tt\rr\ff", *vp); if (s) @@ -400,7 +400,7 @@ c = *s; if (c < ' ' || c > '~') { - char *cp; + const char *cp; cp = strchr("\bb\ff\nn\rr\tt", c); if (cp)