Skip to content

Commit

Permalink
Helpers: fix uv_utf16_to_wtf8 wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Dec 18, 2023
1 parent c862cfe commit 2c2a3f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/c/helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,9 @@ int luv_utf16_to_wtf8(
const char *utf16, ssize_t utf16_len, char **wtf8_ptr,
size_t *wtf8_len_ptr)
{
uv_utf16_to_wtf8((const uint16_t*)utf16, utf16_len, wtf8_ptr, wtf8_len_ptr);
return
uv_utf16_to_wtf8(
(const uint16_t*)utf16, utf16_len, wtf8_ptr, wtf8_len_ptr);
}


Expand Down

0 comments on commit 2c2a3f8

Please sign in to comment.