summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index 1a048f7c04..f27df883fe 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1752,8 +1752,7 @@ Perl_realloc(void *mp, size_t nbytes)
nmalloc[bucket]--;
nmalloc[pow * BUCKETS_PER_POW2]++;
#endif
- ((union overhead *)(cp - M_OVERHEAD))->ov_index
- = pow * BUCKETS_PER_POW2; /* Fill index. */
+ *(cp - M_OVERHEAD) = pow * BUCKETS_PER_POW2; /* Fill index. */
MALLOC_UNLOCK;
goto inplace_label;
} else {