summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index 59d8aeacf7..375e3e330f 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1662,7 +1662,7 @@ Perl_is_utf8_char(const U8 *s)
/* Assumes we have enough space, which is why this is deprecated. But the
* strnlen() makes it safe for the common case of NUL-terminated strings */
- return isUTF8_CHAR(s, s + strnlen((char *) s, UTF8SKIP(s)));
+ return isUTF8_CHAR(s, s + my_strnlen((char *) s, UTF8SKIP(s)));
}
/*