From 722bc5df7e7bde6ec865b991e500aca04c931ad5 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Mon, 10 Aug 2015 10:06:14 -0700 Subject: Remove need to disable MSVC warning 4244 --- src/blocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blocks.c') diff --git a/src/blocks.c b/src/blocks.c index 6d3053b..49ac273 100755 --- a/src/blocks.c +++ b/src/blocks.c @@ -774,7 +774,7 @@ static void S_process_line(cmark_parser *parser, const unsigned char *buffer, container->as.code.fenced = true; container->as.code.fence_char = peek_at(&input, parser->first_nonspace); container->as.code.fence_length = matched; - container->as.code.fence_offset = parser->first_nonspace - parser->offset; + container->as.code.fence_offset = (int8_t)(parser->first_nonspace - parser->offset); container->as.code.info = cmark_chunk_literal(""); S_advance_offset(parser, &input, parser->first_nonspace + matched - parser->offset, -- cgit v1.2.3