diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-27 01:44:43 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 05:14:43 -0600 |
commit | 298e8f0e4acd3b2173e34f3bb387f4a83cd16d1b (patch) | |
tree | 9fd4dab88d810455199ee2d203a734b05596de26 /utf8.c | |
parent | 8b5f2733d203f1d4c77d2a7e2250f5b63c17c9e9 (diff) | |
download | perl-298e8f0e4acd3b2173e34f3bb387f4a83cd16d1b.tar.gz |
utf8.c: Use C_ARRAY_LENGTH()
This macro is preferred to sizeof()
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3143,7 +3143,7 @@ Perl__to_uni_fold_flags(pTHX_ UV c, U8* p, STRLEN *lenp, U8 flags) needs_full_generality: uvchr_to_utf8(utf8_c, c); - return _toFOLD_utf8_flags(utf8_c, utf8_c + sizeof(utf8_c), + return _toFOLD_utf8_flags(utf8_c, utf8_c + C_ARRAY_LENGTH(utf8_c), p, lenp, flags); } } |