Skip to content

Commit

Permalink
dump.c: Save a '&' instr by casting to U8
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Jul 24, 2021
1 parent 3af4a2c commit bbf9abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump.c
Expand Up @@ -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)
Expand Down

0 comments on commit bbf9abb

Please sign in to comment.