From 36ec22688f43fe7d72cfd39bd548041eb72e26fe Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Mon, 5 Aug 2024 21:47:57 +0000 Subject: [PATCH] Fix typo in pdumper.c * src/pdumper.c (dump_interval_node): Call 'dump_field_fixup_later' with the correct arguments. Discovered by Danny McClanahan. (cherry picked from commit e7109dfd9c15312d20582efdde8c929c9a65282a) --- src/pdumper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pdumper.c b/src/pdumper.c index 53bddf91f04..0b8dab3a734 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2136,9 +2136,9 @@ dump_interval_node (struct dump_context *ctx, struct itree_node *node) if (node->parent) dump_field_fixup_later (ctx, &out, node, &node->parent); if (node->left) - dump_field_fixup_later (ctx, &out, node, &node->parent); + dump_field_fixup_later (ctx, &out, node, &node->left); if (node->right) - dump_field_fixup_later (ctx, &out, node, &node->parent); + dump_field_fixup_later (ctx, &out, node, &node->right); DUMP_FIELD_COPY (&out, node, begin); DUMP_FIELD_COPY (&out, node, end); DUMP_FIELD_COPY (&out, node, limit); -- 2.39.2