diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 20:19:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-08-10 20:19:09 -0700 |
commit | 735098e097ad62bdc4b1121c6c0c983eb7483485 (patch) | |
tree | a858fedc30e6149ed430784942413a2b06741ec9 /src/html.c | |
parent | a541e39f69cfa75422fbe70c59c2ac40fbdbe1d7 (diff) | |
parent | ce0e58469f7c4abf3f51bde6d3298215d6ef99d1 (diff) |
Merge pull request #76 from kainjow/msvc-warnings
Fix some MSVC warnings
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,12 +130,12 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type, case CMARK_NODE_HEADER: if (entering) { cr(html); - start_header[2] = '0' + node->as.header.level; + start_header[2] = (char)('0' + node->as.header.level); cmark_strbuf_puts(html, start_header); S_render_sourcepos(node, html, options); cmark_strbuf_putc(html, '>'); } else { - end_header[3] = '0' + node->as.header.level; + end_header[3] = (char)('0' + node->as.header.level); cmark_strbuf_puts(html, end_header); cmark_strbuf_puts(html, ">\n"); } |