summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 0fe00b81a0..da148d81a4 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1769,7 +1769,7 @@ PP(pp_send)
if (length > blen - offset)
length = blen - offset;
if (DO_UTF8(bufsv)) {
- buffer = utf8_hop((U8 *)buffer, offset);
+ buffer = (char*)utf8_hop((U8 *)buffer, offset);
length = utf8_hop((U8 *)buffer, length) - (U8 *)buffer;
}
else {