Skip to content

Commit 79108da

Browse files
sribee8Sriya Pratipati
andauthored
[libc][obvious] Changed incorrect type (#143780)
After changing mbstate_t to mbstate we forgot to change the character_converter files to reflect it. Co-authored-by: Sriya Pratipati <[email protected]>
1 parent d87eea3 commit 79108da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace LIBC_NAMESPACE_DECL {
1717
namespace internal {
1818

19-
CharacterConverter::CharacterConverter(mbstate_t *mbstate) { state = mbstate; }
19+
CharacterConverter::CharacterConverter(mbstate *mbstate) { state = mbstate; }
2020

2121
bool CharacterConverter::isComplete() {}
2222

libc/src/__support/wchar/character_converter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ namespace internal {
1919

2020
class CharacterConverter {
2121
private:
22-
mbstate_t *state;
22+
mbstate *state;
2323

2424
public:
25-
CharacterConverter(mbstate_t *mbstate);
25+
CharacterConverter(mbstate *mbstate);
2626

2727
bool isComplete();
2828

0 commit comments

Comments
 (0)