summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/dom-structure-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c
index 2cdc7c5..189292d 100644
--- a/examples/dom-structure-dump.c
+++ b/examples/dom-structure-dump.c
@@ -259,9 +259,9 @@ enum dom_walk_cmd dump_dom_structure__cb(
enum dom_walk_stage stage,
dom_node_type type,
dom_node *node,
- void *ctx)
+ void *pw)
{
- int *depth = ctx;
+ int *depth = pw;
switch (type) {
case DOM_ELEMENT_NODE: