Skip to content

Commit

Permalink
vms.c: Save '&' instrs 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 d73896f commit 72081fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vms/vms.c
Expand Up @@ -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;
Expand Down

0 comments on commit 72081fd

Please sign in to comment.