This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Bug in perlguts documentation?
authorMike Guy <mjtg@cam.ac.uk>
Wed, 6 Jun 2001 20:58:53 +0000 (20:58 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 6 Jun 2001 20:58:53 +0000 (20:58 +0000)
Reply-To: mjtg@cam.ac.uk
Message-Id: <E157fiS-0006Q7-00@draco.cus.cam.ac.uk>

p4raw-id: //depot/perl@10460

pod/perlguts.pod

index 44f3640..3fea294 100644 (file)
@@ -1047,7 +1047,7 @@ to do this.
         tie = newRV_noinc((SV*)newHV());
         stash = gv_stashpv("MyTie", TRUE);
         sv_bless(tie, stash);
-        hv_magic(hash, tie, PERL_MAGIC_tied);
+        hv_magic(hash, (GV*)tie, PERL_MAGIC_tied);
         RETVAL = newRV_noinc(hash);
     OUTPUT:
         RETVAL