diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-04 21:50:40 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-04 21:50:40 +0000 |
commit | d38acd6c115bc9ca928d820fb506866e7dc749da (patch) | |
tree | 09c3c68331c6e59041e5d4f9102d7c80ffc73e02 /pp.c | |
parent | 3f54ad2bab26c7a42df396e164e78a422e8f1549 (diff) | |
download | perl-d38acd6c115bc9ca928d820fb506866e7dc749da.tar.gz |
tweak to avoid ambiguity warnings
p4raw-id: //depot/maint-5.005/perl@1728
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3655,8 +3655,8 @@ doencodes(register SV *sv, register char *s, register I32 len) hunk[4] = '\0'; while (len > 2) { hunk[0] = uuemap[(077 & (*s >> 2))]; - hunk[1] = uuemap[(077 & ((*s << 4) & 060 | (s[1] >> 4) & 017))]; - hunk[2] = uuemap[(077 & ((s[1] << 2) & 074 | (s[2] >> 6) & 03))]; + hunk[1] = uuemap[(077 & (((*s << 4) & 060) | ((s[1] >> 4) & 017)))]; + hunk[2] = uuemap[(077 & (((s[1] << 2) & 074) | ((s[2] >> 6) & 03)))]; hunk[3] = uuemap[(077 & (s[2] & 077))]; sv_catpvn(sv, hunk, 4); s += 3; @@ -3665,7 +3665,7 @@ doencodes(register SV *sv, register char *s, register I32 len) if (len > 0) { char r = (len > 1 ? s[1] : '\0'); hunk[0] = uuemap[(077 & (*s >> 2))]; - hunk[1] = uuemap[(077 & ((*s << 4) & 060 | (r >> 4) & 017))]; + hunk[1] = uuemap[(077 & (((*s << 4) & 060) | ((r >> 4) & 017)))]; hunk[2] = uuemap[(077 & ((r << 2) & 074))]; hunk[3] = uuemap[0]; sv_catpvn(sv, hunk, 4); |