Skip to content

Commit a5c8cd4

Browse files
committed
Fix *nix compilation problem.
1 parent a2ae097 commit a5c8cd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stew/utf8.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ when defined(posix):
414414
ps: ptr Mbstate): csize_t {.
415415
importc, header: "<wchar.h>".}
416416

417-
proc mbstowcs*[A: Bytes, B: Wides](t: typedesc[B],
418-
input: openarray[A]): UResult[seq[B]] =
417+
proc mbstowcs*[A: Bytes, B: Wides32](t: typedesc[B],
418+
input: openarray[A]): UResult[seq[B]] =
419419
## Converts multibyte encoded string to OS specific wide char string.
420420
##
421421
## Note, that `input` should be `0` terminated.

0 commit comments

Comments
 (0)