summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index fad100f638a..40736ed4b5a 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -1075,7 +1075,7 @@ my_wc_to_printable_generic(CHARSET_INFO *cs, my_wc_t wc,
}
str+= cs->mbminlen;
}
- return str - str0;
+ return (int) (str - str0);
}