mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-24 19:21:52 +00:00
LibC: Made mbtowc return int instead of size_t
This commit is contained in:
parent
5fbb8f9c6a
commit
db31452bc2
Notes:
sideshowbarker
2024-07-19 02:11:22 +09:00
Author: https://github.com/Lubrsi
Commit: db31452bc2
Pull-request: https://github.com/SerenityOS/serenity/pull/3454
Reviewed-by: https://github.com/bugaevc
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue