summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-01-30 12:59:12 +0000
committerNicholas Clark <nick@ccl4.org>2006-01-30 12:59:12 +0000
commitde61663159118b735969bec9539d9251323990fa (patch)
tree08bacbcc1bfb10dc496f8287872d3c6c42abe2ec /perl.c
parent21c1191d96d28acb87f4479c4eef93ca5aef5405 (diff)
downloadperl-de61663159118b735969bec9539d9251323990fa.tar.gz
Use a union for storing the shared hash key reference count, rather
than messy pointer hacks. p4raw-id: //depot/perl@27000
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 82960f3a37..e9f7795892 100644
--- a/perl.c
+++ b/perl.c
@@ -1100,7 +1100,7 @@ perl_destruct(pTHXx)
HE * const next = HeNEXT(hent);
Perl_warner(aTHX_ packWARN(WARN_INTERNAL),
"Unbalanced string table refcount: (%ld) for \"%s\"",
- (long)(HeVAL(hent) - Nullsv), HeKEY(hent));
+ (long)hent->he_valu.hent_refcount, HeKEY(hent));
Safefree(hent);
hent = next;
}