diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-27 14:31:24 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-27 14:31:24 +0000 |
commit | ef75a179103f867668cdc0e80c863551b9a84c82 (patch) | |
tree | c328c368d310b7559fbdc6c708c76a207a8e67af /op.c | |
parent | f4e86e0f0c3be53056766cf9081a449e60f2fb28 (diff) | |
download | perl-ef75a179103f867668cdc0e80c863551b9a84c82.tar.gz |
avoid compiler warnings (from Dan Sugalski)
p4raw-id: //depot/perl@5284
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ Perl_pad_allocmy(pTHX_ char *name) } if (PL_in_my == KEY_our) { (void)SvUPGRADE(sv, SVt_PVGV); - GvSTASH(sv) = (HV*)SvREFCNT_inc(PL_curstash ? PL_curstash : PL_defstash); + GvSTASH(sv) = (HV*)SvREFCNT_inc(PL_curstash ? (SV*)PL_curstash : (SV*)PL_defstash); SvFLAGS(sv) |= SVpad_OUR; } av_store(PL_comppad_name, off, sv); |