summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/example-deconstructor-alt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/example-deconstructor-alt.c b/tests/example-deconstructor-alt.c
index f7b06d6..b29c077 100644
--- a/tests/example-deconstructor-alt.c
+++ b/tests/example-deconstructor-alt.c
@@ -635,10 +635,10 @@ main(int argc, char *argv[])
/* Display the style information. */
- if (input_event.data.sequence_start.style)
+ if (input_event.data.mapping_start.style)
{
- yaml_sequence_style_t style
- = (yaml_sequence_style_t) input_event.data.mapping_start.style;
+ yaml_mapping_style_t style
+ = input_event.data.mapping_start.style;
/* Add 'style': <style>. */