[PATCH] Fix multiple compilation warnings
[apps/madmutt.git] / enter.c
diff --git a/enter.c b/enter.c
index cc3b379..b310ea1 100644 (file)
--- 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;