Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joemfb committed Oct 13, 2023
1 parent da84875 commit af4b696
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/noun/jets/c/mas.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ u3qc_mas(u3_atom a)
}
else {
b_w = c3_bits_word(a);
a &= ~(1 << (b_w - 1));
a |= (1 << (b_w - 2));
a &= ~((c3_w)1 << (b_w - 1));
a |= ((c3_w)1 << (b_w - 2));
return a;
}
}
Expand All @@ -37,8 +37,8 @@ u3qc_mas(u3_atom a)
top_w = sab_u.buf_w[len_w];

b_w &= 31;
top_w &= (1 << (b_w - 1)) - 1;
top_w |= (1 << (b_w - 2));
top_w &= ((c3_w)1 << (b_w - 1)) - 1;
top_w |= ((c3_w)1 << (b_w - 2));

sab_u.buf_w[len_w] = top_w;
return u3i_slab_moot(&sab_u);
Expand Down

0 comments on commit af4b696

Please sign in to comment.