summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-06-28 12:03:54 -0600
committerKarl Williamson <khw@cpan.org>2020-07-17 21:44:08 -0600
commit530e9296a21b673d7e4c2b42f18d0d52d00f35c4 (patch)
treec5499763242b9a9018d4f6fa606fb3c85b52241f /sv.h
parent22090b13a9dd6f9deb66027225ea55323a45f10b (diff)
downloadperl-530e9296a21b673d7e4c2b42f18d0d52d00f35c4.tar.gz
sv.h: Wanted UOK, but said IOK
I don't know the consequences of this bug
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 2f6431a826..3721b2fb1b 100644
--- a/sv.h
+++ b/sv.h
@@ -1711,7 +1711,7 @@ Like C<sv_catsv> but doesn't process magic.
#define SvNV(sv) (SvNOK_nog(sv) ? SvNVX(sv) : sv_2nv(sv))
#define SvIV_nomg(sv) (SvIOK(sv) ? SvIVX(sv) : sv_2iv_flags(sv, 0))
-#define SvUV_nomg(sv) (SvIOK(sv) ? SvUVX(sv) : sv_2uv_flags(sv, 0))
+#define SvUV_nomg(sv) (SvUOK(sv) ? SvUVX(sv) : sv_2uv_flags(sv, 0))
#define SvNV_nomg(sv) (SvNOK(sv) ? SvNVX(sv) : sv_2nv_flags(sv, 0))
/* ----*/