diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-06-21 13:26:54 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-06-22 23:16:40 -0700 |
commit | f156091762ac3e6be4932562e47615b3a785aa6f (patch) | |
tree | 9b3596af0974c2220473be4b497f6e8a436ee15a /sv.h | |
parent | 948d23704c370224e484b4083be90fba01a7439e (diff) | |
download | perl-f156091762ac3e6be4932562e47615b3a785aa6f.tar.gz |
sv.h: Correct assertion in BmUSEFUL
BmUSEFUL uses the NV slot, not the IV slot. So asserting that it is
not IOK is not all that useful.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1361,7 +1361,7 @@ sv_force_normal does nothing. (*({ SV *const _bmuseful = MUTABLE_SV(sv); \ assert(SvTYPE(_bmuseful) == SVt_PVMG); \ assert(SvVALID(_bmuseful)); \ - assert(!SvIOK(_bmuseful)); \ + assert(!SvNOK(_bmuseful)); \ &(((XPVMG*) SvANY(_bmuseful))->xnv_u.xbm_useful); \ })) #else |