From 2a173f5acb2530a130e407273836e051b31337d8 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 24 Jul 2021 07:20:18 -0600 Subject: dump.c: Save a '&' instr by casting to U8 --- dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dump.c') diff --git a/dump.c b/dump.c index a72accddb3..a939c3ff56 100644 --- a/dump.c +++ b/dump.c @@ -181,7 +181,7 @@ Perl_pv_escape( pTHX_ SV *dsv, char const * const str, for ( ; (pv < end && (!max || (wrote < max))) ; pv += readsize ) { const UV u= (isuni) ? utf8_to_uvchr_buf((U8*)pv, (U8*) end, &readsize) : (U8)*pv; - const U8 c = (U8)u & 0xFF; + const U8 c = (U8)u; if ( ( u > 255 ) || (flags & PERL_PV_ESCAPE_ALL) -- cgit v1.2.1