X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=enter.c;fp=enter.c;h=b310ea1fdb47aea81a6aa1dc1330b763e9276411;hp=cc3b3799808c99967a7c0d82db294dbfd86ca337;hb=efe9a0bac26a7dabf3953ea0597ce06b3dcb21fe;hpb=93b012884de4ca5e1f2550f767d0b8680b9c0e9f diff --git a/enter.c b/enter.c index cc3b379..b310ea1 100644 --- a/enter.c +++ b/enter.c @@ -80,7 +80,7 @@ static size_t width_ceiling (const wchar_t * s, size_t n, int w1) return s - s0; } -static void my_wcstombs (char *dest, size_t dlen, const wchar_t * src, +static void my_wcstombs (char *dest, ssize_t dlen, const wchar_t * src, size_t slen) { mbstate_t st;