This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix for bug #38631: tied variables don't work with .= <>
[perl5.git] / sv.c
diff --git a/sv.c b/sv.c
index 6696e9a..c509b03 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -2663,7 +2663,7 @@ Perl_sv_2pv_flags(pTHX_ register SV *sv, STRLEN *lp, I32 flags)
                 {
                     char *str = NULL;
                     I32 haseval = 0;
-                    I32 flags = 0;
+                    U32 flags = 0;
                     (str) = CALLREG_AS_STR(mg,lp,&flags,&haseval);
                     if (flags & 1)
                        SvUTF8_on(sv);