From 6140424123eb97bf39d2c8e921ca03e5e5a39bba Mon Sep 17 00:00:00 2001 From: Matthieu Texier Date: Tue, 24 Jul 2018 14:44:41 +0200 Subject: [PATCH] Fix listing 59.4 --- src/chapter-59.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chapter-59.md b/src/chapter-59.md index ff13c30..376634f 100644 --- a/src/chapter-59.md +++ b/src/chapter-59.md @@ -547,7 +547,7 @@ void WalkTree(NODE *pNode) // Pop the next node from the stack so // we can visit it and see if it has a // right subtree to be traversed - if ((pNode = *—pNodeStack) == NULL) + if ((pNode = *--pNodeStack) == NULL) { // Stack is empty and the current node // has no right child; we're done