diff options
-rw-r--r-- | src/latex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latex.c b/src/latex.c index 50134bd..b9500bd 100644 --- a/src/latex.c +++ b/src/latex.c @@ -414,7 +414,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, #ifndef HAVE_C99_SNPRINTF // Assume we're on Windows. if (len < 0) { - len = _vscprintf("%d", list_number); + len = _snprintf("%d", list_number); } #endif lit(state, "\\setcounter{enum", false); |