From df5236d73fd9aa5c890b36fff5d5a2796253bd45 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Thu, 10 Dec 2015 10:29:56 -0800 Subject: Fix warnings about dropping const qualifier --- src/commonmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commonmark.c') 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... -- cgit v1.2.3