diff options
author | Karl Williamson <khw@cpan.org> | 2021-07-24 07:31:12 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-07-30 06:11:46 -0600 |
commit | 5b68aa4bccb2c3e8641c6b2eee8431701fda7c4e (patch) | |
tree | ee6eb468db9cece6af1993320f526fb7e9dd70c7 /vms/vms.c | |
parent | b74cfaffad2529c0c699eaa4462c03fbd7fed423 (diff) | |
download | perl-5b68aa4bccb2c3e8641c6b2eee8431701fda7c4e.tar.gz |
vms.c: Save '&' instrs by casting to U8
Diffstat (limited to 'vms/vms.c')
-rw-r--r-- | vms/vms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -601,8 +601,8 @@ copy_expand_vms_filename_escape(char *outspec, const char *inspec, int *output_c if (scnt == 4) { unsigned int c1, c2; scnt = sscanf(inspec, "%2x%2x", &c1, &c2); - outspec[0] = c1 & 0xff; - outspec[1] = c2 & 0xff; + outspec[0] = (U8) c1; + outspec[1] = (U8) c2; if (scnt > 1) { (*output_cnt) += 2; count += 4; |