diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-05 22:33:12 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-05 22:33:12 +0000 |
commit | d2f13c598f9812cd520097e22d819d1b9f7b0cb6 (patch) | |
tree | 51c2739d4fe37c20fc90e087816461a35cf48e5a /util.c | |
parent | 62a1a1efb41483ae8589f3158be0ce9a1c21e8e2 (diff) | |
download | perl-d2f13c598f9812cd520097e22d819d1b9f7b0cb6.tar.gz |
Make REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).
p4raw-id: //depot/perl@32861
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5921,7 +5921,7 @@ Perl_get_re_arg(pTHX_ SV *sv) { (tmpsv = (SV*)SvRV(sv)) && /* assign deliberate */ SvTYPE(tmpsv) == SVt_REGEXP) { - return tmpsv; + return (REGEXP*) tmpsv; } } |