summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-05-02 23:04:33 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-05-03 08:52:01 +0000
commit9a206dfdc969fdaf131056ef8a692a173aecaea4 (patch)
tree002abb2259e394a701b2cbbee95401362ec0b0c0 /pp_sys.c
parent41f624326e41e9473759ff78a7d900616bbc39a1 (diff)
downloadperl-9a206dfdc969fdaf131056ef8a692a173aecaea4.tar.gz
pp_sys.c: U8* cast
Message-Id: <200605021704.k42H4XIh255652@kosh.hut.fi> p4raw-id: //depot/perl@28076
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 86061a693b..2df5a770e4 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1867,7 +1867,7 @@ PP(pp_send)
/* Don't call sv_len_utf8 again because it will call magic
or overloading a second time, and we might get back a
different result. */
- blen_chars = utf8_length(buffer, buffer + blen);
+ blen_chars = utf8_length((U8*)buffer, (U8*)buffer + blen);
} else {
/* It's safe, and it may well be cached. */
blen_chars = sv_len_utf8(bufsv);