diff options
author | Karl Williamson <public@khwilliamson.com> | 2014-01-01 09:52:55 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2014-01-01 11:50:37 -0700 |
commit | f3943cf2ca1b7a02583ef8bbeb1ced9414bf1fac (patch) | |
tree | d654fb43eeefdfecfc48e0cc9caa2ca2e8ad8c3e /pp.c | |
parent | 4f6386b6c255e97472036daac543efef3399b495 (diff) | |
download | perl-f3943cf2ca1b7a02583ef8bbeb1ced9414bf1fac.tar.gz |
pp.c: Remove unnecessary mask operation.
An unsigned character (U8) should not have more than 8 bits of data, so
no need to force that by masking with 0xFF.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3330,7 +3330,7 @@ PP(pp_ord) XPUSHu(DO_UTF8(argsv) ? utf8n_to_uvchr(s, len, 0, UTF8_ALLOW_ANYUV) - : (UV)(*s & 0xff)); + : (UV)(*s)); RETURN; } |