From 2bcca4c2118733f14a91eaf585e8ff97e216b6bd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Feb 2015 12:06:51 -0800 Subject: Made 'options' an int rather than a long. For consistency with the API. --- src/inlines.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index 858bdc2..202dcd6 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -53,11 +53,11 @@ typedef struct { static delimiter* S_insert_emph(subject *subj, delimiter *opener, delimiter *closer); -static int parse_inline(subject* subj, cmark_node * parent, long options); +static int parse_inline(subject* subj, cmark_node * parent, int options); static void subject_from_buf(subject *e, cmark_strbuf *buffer, cmark_reference_map *refmap); -static int subject_find_special_char(subject *subj, long options); +static int subject_find_special_char(subject *subj, int options); static unsigned char *cmark_clean_autolink(cmark_chunk *url, int is_email) { @@ -924,7 +924,7 @@ static cmark_node* handle_newline(subject *subj) } } -static int subject_find_special_char(subject *subj, long options) +static int subject_find_special_char(subject *subj, int options) { // "\n\\`&_*[]string_content, refmap); -- cgit v1.2.3