summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-01-19 13:45:40 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-23 08:25:54 -0800
commit3ef0718f9f4c9dea5014a8a0e9a67e2366b9374f (patch)
treea5af5d11074d28c2d1c99d1508b1e3760e82884c /src/html.c
parent68a3f24d93ed63fd1545c691442d69630649eadb (diff)
Improve packing of struct cmark_list
Allows to reduce size of struct cmark_node later.
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.c b/src/html.c
index f7da7c2..f3f4cd1 100644
--- a/src/html.c
+++ b/src/html.c
@@ -92,7 +92,7 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type,
break;
case CMARK_NODE_LIST: {
- cmark_list_type list_type = node->as.list.list_type;
+ cmark_list_type list_type = (cmark_list_type)node->as.list.list_type;
int start = node->as.list.start;
if (entering) {