1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 23:15:08 +00:00

LibC: Made mbtowc return int instead of size_t

This commit is contained in:
Luke 2020-09-09 08:27:12 +01:00 committed by Andreas Kling
parent 5fbb8f9c6a
commit db31452bc2
2 changed files with 2 additions and 2 deletions

View file

@ -796,7 +796,7 @@ size_t mbstowcs(wchar_t*, const char*, size_t)
ASSERT_NOT_REACHED();
}
size_t mbtowc(wchar_t* wch, const char* data, size_t data_size)
int mbtowc(wchar_t* wch, const char* data, size_t data_size)
{
// FIXME: This needs a real implementation.
UNUSED_PARAM(data_size);