summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wojniak <kainjow@kainjow.com>2015-10-22 13:51:15 -0700
committerKevin Wojniak <kainjow@kainjow.com>2015-10-22 13:51:15 -0700
commitf79238f7dfba0f725558825c9d4466e771c2b3a5 (patch)
tree1af718a3d57839c50078871ec02b0061b88b10cd
parentb281a1e24c119c6d35c34012cd964c84db908938 (diff)
commonmark: fix size_t to int
This fixes an MSVC warning "conversion from 'size_t' to 'int', possible loss of data"
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index da81623..9a029cd 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -95,7 +95,7 @@ static int shortest_unused_backtick_sequence(const char *code) {
used = used >> 1;
i++;
}
- return i;
+ return (int)i;
}
static bool is_autolink(cmark_node *node) {