Skip to content

Commit

Permalink
Merge branch 'john/erts/fix-bad-assert-erl_bits'
Browse files Browse the repository at this point in the history
* john/erts/fix-bad-assert-erl_bits:
  erts: Fix bad assert in debug build
  • Loading branch information
jhogberg committed Jun 20, 2023
2 parents d2e5e7b + 31a2907 commit 3b568fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/emulator/beam/erl_bits.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ fmt_small(byte *buf, Uint num_bytes, Eterm arg, Uint num_bits, Uint flags)
Uint bit_offset;
Sint val;

ASSERT(is_small(val));
ASSERT(is_small(arg));
ASSERT(num_bits != 0); /* Tested by caller */

bit_offset = BIT_OFFSET(num_bits);
Expand Down

0 comments on commit 3b568fc

Please sign in to comment.