Down with C++ reserved names
[p5sagit/p5-mst-13.2.git] / regcomp.c
index 713669c..30c492b 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -2791,11 +2791,11 @@ Perl_reginitcolors(pTHX)
                PL_colors[i] = ++s;
            }
            else
-               PL_colors[i] = s = "";
+               PL_colors[i] = s = (char *)"";
        }
     } else {
        while (i < 6)
-           PL_colors[i++] = "";
+           PL_colors[i++] = (char *)"";
     }
     PL_colorset = 1;
 }
@@ -6267,7 +6267,7 @@ S_re_croak2(pTHX_ const char* pat1,const char* pat2,...)
     STRLEN l2 = strlen(pat2);
     char buf[512];
     SV *msv;
-    char *message;
+    const char *message;
 
     if (l1 > 510)
        l1 = 510;