summaryrefslogtreecommitdiff
path: root/lib/unistr/u16-uctomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u16-uctomb.c')
-rw-r--r--lib/unistr/u16-uctomb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unistr/u16-uctomb.c b/lib/unistr/u16-uctomb.c
index b4f2b88ed1..77e52e5b83 100644
--- a/lib/unistr/u16-uctomb.c
+++ b/lib/unistr/u16-uctomb.c
@@ -28,7 +28,7 @@
#if !HAVE_INLINE
int
-u16_uctomb (uint16_t *s, ucs4_t uc, int n)
+u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n)
{
if (uc < 0xd800)
{