summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-05 12:37:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-05 12:37:22 -0800
commitcfdca3ec23b192c4526752194198291e08f9da80 (patch)
treefb78cd25c3fc6106137a38b8f7bf4704fbb787d4 /src/commonmark.c
parent00557b43e2c64a194e08c3d6b03dc225bea7b123 (diff)
commonmark.c - use size_t instead of int.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 386a9db..7864ee6 100644
--- 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'};