diff --git a/src/add-ons/kernel/file_systems/ntfs/libntfs/unistr.c b/src/add-ons/kernel/file_systems/ntfs/libntfs/unistr.c index 20029aec8e..2b919eb11f 100644 --- a/src/add-ons/kernel/file_systems/ntfs/libntfs/unistr.c +++ b/src/add-ons/kernel/file_systems/ntfs/libntfs/unistr.c @@ -707,7 +707,7 @@ fail: * Returns the number of bytes consumed, or 0 on error. */ static int -ntfs_wc_to_utf8(wchar_t c,unsigned char* buf) +ntfs_utf16_to_utf8(ntfschar c, unsigned char* buf) { if(c==0) return 0; /* No support for embedded 0 runes */ @@ -740,7 +740,7 @@ ntfs_wc_to_utf8(wchar_t c,unsigned char* buf) * Returns the number of bytes consumed, or 0 on error. */ static int -ntfs_wc_from_utf8(const unsigned char* str, ntfschar* c) +ntfs_utf16_from_utf8(const unsigned char* str, ntfschar* c) { int l=0,i; @@ -787,7 +787,7 @@ static inline int ntfs_dupuni2utf8(const ntfschar* in, int in_len,char **out,int /* count the length of the resulting UTF-8 */ for(i=len8=0;i