diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-06 23:09:50 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-06 23:09:50 +0200 |
commit | 13947ca611561e1771f14469696ee61a53cebbe9 (patch) | |
tree | 8f2ef30bd238f730b064b07e31807e5c93167d39 /src/commonmark.c | |
parent | 56b1123c6662169ffe6a0eabc67f8533e745eb97 (diff) |
astyle formatting changes.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c index 47da191..dba1fcf 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -260,7 +260,7 @@ is_autolink(cmark_node *node) link_text = node->first_child; cmark_consolidate_text_nodes(link_text); return ((int)strlen(url) == link_text->as.literal.len && - strncmp(url, + strncmp(url, (char*)link_text->as.literal.data, link_text->as.literal.len) == 0); } |