diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-12-12 08:20:18 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-12-13 13:07:36 -0800 |
commit | 1f08278655c6f27431fd0055cc909182eb367275 (patch) | |
tree | 69ab62c2cc872e99acfd938db395af9160a79459 /ext/B | |
parent | 5e7acd25de2b1c4ab106ffe3e524c834ca78e113 (diff) | |
download | perl-1f08278655c6f27431fd0055cc909182eb367275.tar.gz |
Use STATIC_ASSERT in B::PADNAME::FLAGS
Diffstat (limited to 'ext/B')
-rw-r--r-- | ext/B/B.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/B.xs b/ext/B/B.xs index 9af9f58a8a..8935174455 100644 --- a/ext/B/B.xs +++ b/ext/B/B.xs @@ -2395,7 +2395,7 @@ PadnameFLAGS(pn) /* backward-compatibility hack, which should be removed if the flags field becomes large enough to hold SVf_FAKE (and PADNAMEt_OUTER should be renumbered to match SVf_FAKE) */ - assert(SVf_FAKE >= 1<<(sizeof(PadnameFLAGS(pn)) * 8)); + STATIC_ASSERT_STMT(SVf_FAKE >= 1<<(sizeof(PadnameFLAGS(pn)) * 8)); if (PadnameOUTER(pn)) RETVAL |= SVf_FAKE; OUTPUT: |