summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-04 02:56:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-04 02:56:34 +0000
commit07f14f5412398b0492274e922342ea9f308fea76 (patch)
treef896364806d9eb762c56d957f84798ac5d984d79 /util.c
parent0f4592effc29e9b2deb638f6f7e6129ffa8326e3 (diff)
downloadperl-07f14f5412398b0492274e922342ea9f308fea76.tar.gz
s/sv_upgrade/SvUPGRADE/ a couple of places
p4raw-id: //depot/perl@2187
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ffc2fd3633..6dead7a39a 100644
--- a/util.c
+++ b/util.c
@@ -905,7 +905,7 @@ fbm_compile(SV *sv, U32 flags /* not used yet */)
U32 frequency = 256;
s = (U8*)SvPV_force(sv, len);
- sv_upgrade(sv, SVt_PVBM);
+ (void)SvUPGRADE(sv, SVt_PVBM);
if (len > 255 || len == 0) /* TAIL might be on on a zero-length string. */
return; /* can't have offsets that big */
if (len > 2) {