]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: wchar.h: Fix comment
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 20 Aug 2022 18:27:37 +0000 (20:27 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 20 Aug 2022 18:27:37 +0000 (20:27 +0200)
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/local_includes/wchar.h

index 0484b27d52c10839da009965144d4945059d78fd..b2ddd457568f12af0656f16c4706e266f546de92 100644 (file)
@@ -106,7 +106,7 @@ static inline size_t
 sys_mbstouni_alloc (PUNICODE_STRING dst, int type, const char *src,
                    size_t nms = (size_t) -1)
 {
-  /* sys_mbstowcs returns length *including* trailing \0 */
+  /* sys_mbstowcs_alloc returns length *including* trailing \0 */
   size_t len = sys_mbstowcs_alloc (&dst->Buffer, type, src, nms);
   dst->MaximumLength = len * sizeof (WCHAR);
   dst->Length = dst->MaximumLength - sizeof (WCHAR);
This page took 0.035914 seconds and 5 git commands to generate.