diff options
author | Karl Williamson <khw@cpan.org> | 2021-07-18 17:23:58 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-06 08:48:16 -0600 |
commit | 958cdd9919ef4262f89b30453aa9f16ba5de3b45 (patch) | |
tree | 8e616d55800359866e96048efe8a49f398e56c73 /doop.c | |
parent | 150c6a4bb680dc44205133d7b8e97cbafed0c629 (diff) | |
download | perl-958cdd9919ef4262f89b30453aa9f16ba5de3b45.tar.gz |
doop.c: Call the macro instead of reinventing it
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -744,7 +744,7 @@ Perl_do_vecget(pTHX_ SV *sv, STRLEN offset, int size) PERL_ARGS_ASSERT_DO_VECGET; - if (size < 1 || (size & (size-1))) /* size < 1 or not a power of two */ + if (size < 1 || ! isPOWER_OF_2(size)) Perl_croak(aTHX_ "Illegal number of bits in vec"); if (SvUTF8(sv)) { |