cmark

My personal build of CMark ✏️

Commit
7fa73faa7672e10e5af5f26016dd62624a3f3818
Parent
9f2c3ba89071a1c2614a9b58e6686e397da3dd5d
Author
Hugh Bellamy <hughbellars@gmail.com>
Date

Fix warnings building with MSVC on Windows (#165)

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/latex.c 2 1 1
diff --git 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;