libc/wchar: Fix the minor style issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-05-30 08:31:07 +08:00 committed by Masayuki Ishikawa
parent 247ad41bb2
commit 88fd6210f6
5 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ int swprintf(FAR wchar_t *buf, size_t maxlen, FAR const wchar_t *fmt, ...)
/* Initialize a memory stream to write to the buffer */
lib_memoutstream((FAR struct lib_memoutstream_s *)&memoutstream,
(FAR char *) buf, LIB_BUFLEN_UNKNOWN);
(FAR char *)buf, maxlen);
/* Then let lib_vsprintf do the real work */