diff options
author | Kevin Wojniak <kainjow@kainjow.com> | 2015-10-22 13:51:15 -0700 |
---|---|---|
committer | Kevin Wojniak <kainjow@kainjow.com> | 2015-10-22 13:51:15 -0700 |
commit | f79238f7dfba0f725558825c9d4466e771c2b3a5 (patch) | |
tree | 1af718a3d57839c50078871ec02b0061b88b10cd | |
parent | b281a1e24c119c6d35c34012cd964c84db908938 (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.c | 2 |
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) { |