summaryrefslogtreecommitdiff
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index c5f4553..46d234a 100644
--- a/src/node.c
+++ b/src/node.c
@@ -717,7 +717,7 @@ int cmark_node_check(cmark_node *node, FILE *out) {
}
cur = node;
- while (true) {
+ for (;;) {
if (cur->first_child) {
if (cur->first_child->prev != NULL) {
S_print_error(out, cur->first_child, "prev");