We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a330bd commit 0b5d78aCopy full SHA for 0b5d78a
hv.c
@@ -3856,7 +3856,7 @@ Perl_refcounted_he_new_pvn(pTHX_ struct refcounted_he *parent,
3856
} else if (SvPOK(value)) {
3857
value_type = HVrhek_PV;
3858
} else if (SvIOK(value)) {
3859
- value_type = SvUOK((const SV *)value) ? HVrhek_UV : HVrhek_IV;
+ value_type = SvIsUV(value) ? HVrhek_UV : HVrhek_IV;
3860
} else if (!SvOK(value)) {
3861
value_type = HVrhek_undef;
3862
} else {
0 commit comments