diff options
author | Hugh Bellamy <hughbellars@gmail.com> | 2016-11-13 14:13:41 +0000 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-13 15:13:41 +0100 |
commit | 7fa73faa7672e10e5af5f26016dd62624a3f3818 (patch) | |
tree | e31e3a97d73a99199180716bfab9d6c15c5e6512 /src | |
parent | 9f2c3ba89071a1c2614a9b58e6686e397da3dd5d (diff) |
Fix warnings building with MSVC on Windows (#165)
Diffstat (limited to 'src')
-rw-r--r-- | src/latex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.c b/src/latex.c index 7c3decd..e78c7d9 100644 --- a/src/latex.c +++ b/src/latex.c @@ -180,7 +180,7 @@ static link_type get_link_type(cmark_node *node) { link_text = node->first_child; cmark_consolidate_text_nodes(link_text); realurl = (char *)url; - realurllen = url_len; + realurllen = (int)url_len; if (strncmp(realurl, "mailto:", 7) == 0) { realurl += 7; realurllen -= 7; |