# HG changeset patch
# User Michael Drake <tlsa@netsurf-browser.org>
# Date 1532599262 -3600
#      Thu Jul 26 11:01:02 2018 +0100
# Node ID b7d3dcde523db009bb7fd7e6f398daa22991839c
# Parent  6727331451f44f50628d76f6d8a8c990715a2108
Squash a couple of warnings in example-deconstructor-alt

example-deconstructor-alt.c: In function ‘main’:
example-deconstructor-alt.c:649:51: warning:
  comparison between ‘yaml_sequence_style_t {aka enum yaml_sequence_style_e}’
  and ‘enum yaml_mapping_style_e’ [-Wenum-compare]

example-deconstructor-alt.c:650:36: warning:
  comparison between ‘yaml_sequence_style_t {aka enum yaml_sequence_style_e}’
  and ‘enum yaml_mapping_style_e’ [-Wenum-compare]

diff --git a/tests/example-deconstructor-alt.c b/tests/example-deconstructor-alt.c
--- a/tests/example-deconstructor-alt.c
+++ b/tests/example-deconstructor-alt.c
@@ -635,10 +635,10 @@
 
                 /* 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>. */