summaryrefslogtreecommitdiff
path: root/src/fl_call_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_call_main.c')
-rw-r--r--src/fl_call_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c
index e54fa4ed8..e6e57c978 100644
--- a/src/fl_call_main.c
+++ b/src/fl_call_main.c
@@ -59,7 +59,7 @@ static int mbcs2utf(const char *s, int l, char *dst)
if (!s) return 0;
dstlen = (l * 6) + 6;
mbwbuf = (xchar*)malloc(dstlen * sizeof(xchar));
- l = mbstowcs(mbwbuf, s, l);
+ l = (int) mbstowcs(mbwbuf, s, l);
/* l = fl_unicode2utf(mbwbuf, l, dst); */
l = fl_utf8fromwc(dst, dstlen, mbwbuf, l);
dst[l] = 0;