summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:06:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-16 12:06:51 -0800
commit2bcca4c2118733f14a91eaf585e8ff97e216b6bd (patch)
tree5302f78894bcf100e7e8172c0289bb30ea3e5f0d /src/xml.c
parent5de2e4e9d39fd918d041169e2759d4f4b57a0cc6 (diff)
Made 'options' an int rather than a long.
For consistency with the API.
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml.c b/src/xml.c
index 57d4c74..845e553 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -36,7 +36,7 @@ static inline void indent(struct render_state *state)
static int
S_render_node(cmark_node *node, cmark_event_type ev_type,
- struct render_state *state, long options)
+ struct render_state *state, int options)
{
cmark_strbuf *xml = state->xml;
bool literal = false;
@@ -145,7 +145,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
return 1;
}
-char *cmark_render_xml(cmark_node *root, long options)
+char *cmark_render_xml(cmark_node *root, int options)
{
char *result;
cmark_strbuf xml = GH_BUF_INIT;