summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plist.c b/src/plist.c
index a9a6173..116c7ec 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -278,7 +278,7 @@ void plist_dict_next_item(plist_t node, plist_dict_iter iter, char **key, plist_
}
if (val) {
- val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1);
+ *val = (plist_t) g_node_nth_child(node, 2 * (*iter) + 1);
}
*iter += 2;