diff --git a/marshal.c b/marshal.c index f6e1e386a8..814a238391 100644 --- a/marshal.c +++ b/marshal.c @@ -1507,9 +1507,9 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod) if (!ivp || !has_encoding(arg)) { VALUE pat; VALUE dst; - char *rsrc = + static const char rsrc[] = "(?