diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2017-11-28 07:44:10 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2017-11-28 07:58:28 +0200 |
commit | 6658c416bf804bb9e2a97f03ecaf0a8c2e1c1d49 (patch) | |
tree | 5f805a156a1d36fff9194f5dd9c2cea3ee75b3f9 /pp_sys.c | |
parent | c89db7331f874451068a6afdaf37f5a015c34053 (diff) | |
download | perl-6658c416bf804bb9e2a97f03ecaf0a8c2e1c1d49.tar.gz |
STDCHAR * might not be char *.
And therefore one may not be able to subtract the pointers,
for example in HP-UX.
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3642,7 +3642,7 @@ PP(pp_fttext) /* Here contains a variant under UTF-8 . See if the entire string is * UTF-8. */ if (is_utf8_fixed_width_buf_flags(first_variant, - len - ((char *) first_variant - s), + len - ((char *) first_variant - (char *) s), 0)) { if (PL_op->op_type == OP_FTTEXT) { |