We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c91a67c commit d1e951cCopy full SHA for d1e951c
libc/src/stdio/printf_core/char_converter.h
@@ -40,7 +40,7 @@ LIBC_INLINE int convert_char(Writer<write_mode> *writer,
40
41
if (to_conv.length_modifier == LengthModifier::l) {
42
wc = static_cast<wchar_t>(to_conv.conv_val_raw);
43
- ret = internal::wcrtomb(s, wc, &internal_mbstate);
+ ret = internal::wcrtomb(mb_str, wc, &internal_mbstate);
44
if (ret <= 0) {
45
return -1;
46
}
0 commit comments