Skip to content

Commit 055f3c8

Browse files
committed
Modified size type to prevent errors on windows
1 parent 89b4cd5 commit 055f3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/autolink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static cmark_node *match(cmark_syntax_extension *ext, cmark_parser *parser,
270270
}
271271

272272
static bool validate_protocol(char protocol[], uint8_t *data, int rewind) {
273-
uint8_t len = strlen(protocol);
273+
size_t len = strlen(protocol);
274274

275275
for (int i = 1; i <= len; i++) {
276276
if (data[-rewind - i] != protocol[len - i]) {

0 commit comments

Comments
 (0)