diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-10 13:37:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-10 13:37:05 -0800 |
commit | 5af77f3c1d7f34f252a897094936ac4d162adf4b (patch) | |
tree | 1a547a15be670468584f4bbe8f2ff088d0d8d7de /src/commonmark.c | |
parent | 6873b63029c6bf88a909dd85184d0aef34391cf5 (diff) | |
parent | df5236d73fd9aa5c890b36fff5d5a2796253bd45 (diff) |
Merge pull request #95 from kainjow/master
Fix warnings about dropping const qualifier
Diffstat (limited to 'src/commonmark.c')
-rw-r--r-- | src/commonmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commonmark.c b/src/commonmark.c index 5c08589..cbf99c1 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -368,9 +368,9 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node, if (entering) { LIT("<"); if (strncmp(cmark_node_get_url(node), "mailto:", 7) == 0) { - LIT((char *)cmark_node_get_url(node) + 7); + LIT((const char *)cmark_node_get_url(node) + 7); } else { - LIT((char *)cmark_node_get_url(node)); + LIT((const char *)cmark_node_get_url(node)); } LIT(">"); // return signal to skip contents of node... |