Skip to content

Commit

Permalink
options/ansi: Handle binary specifiers in printf
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwinci committed Aug 2, 2024
1 parent 195b55d commit ca431ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/ansi/generic/stdio-stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct PrintfAgent {
case 'p': case 's':
frg::do_printf_chars(*_formatter, t, opts, szmod, _vsp);
break;
case 'd': case 'i': case 'o': case 'x': case 'X': case 'u':
case 'd': case 'i': case 'o': case 'x': case 'X': case 'b': case 'B': case 'u':
frg::do_printf_ints(*_formatter, t, opts, szmod, _vsp);
break;
case 'f': case 'F': case 'g': case 'G': case 'e': case 'E':
Expand Down

0 comments on commit ca431ab

Please sign in to comment.