summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHugh Bellamy <hughbellars@gmail.com>2016-11-13 14:13:41 +0000
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-13 15:13:41 +0100
commit7fa73faa7672e10e5af5f26016dd62624a3f3818 (patch)
treee31e3a97d73a99199180716bfab9d6c15c5e6512 /src
parent9f2c3ba89071a1c2614a9b58e6686e397da3dd5d (diff)
Fix warnings building with MSVC on Windows (#165)
Diffstat (limited to 'src')
-rw-r--r--src/latex.c2
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;