cmark

My personal build of CMark ✏️

Commit
cfdca3ec23b192c4526752194198291e08f9da80
Parent
00557b43e2c64a194e08c3d6b03dc225bea7b123
Author
John MacFarlane <jgm@berkeley.edu>
Date

commonmark.c - use size_t instead of int.

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/commonmark.c 4 2 2
diff --git a/src/commonmark.c b/src/commonmark.c
@@ -171,9 +171,9 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
   cmark_node *tmp;
   int list_number;
   cmark_delim_type list_delim;
-  int numticks;
+  size_t numticks;
   bool extra_spaces;
-  int i;
+  size_t i;
   bool entering = (ev_type == CMARK_EVENT_ENTER);
   const char *info, *code, *title;
   char fencechar[2] = {'\0', '\0'};