ports/textproc/clo++/patches/patch-src_StrUtil_cc

13 lines
352 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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) {