summaryrefslogtreecommitdiff
path: root/libs/libjson/src/libJSON.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libjson/src/libJSON.cpp')
-rw-r--r--libs/libjson/src/libJSON.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libjson/src/libJSON.cpp b/libs/libjson/src/libJSON.cpp
index dbd57b2c26..255e3b1d06 100644
--- a/libs/libjson/src/libJSON.cpp
+++ b/libs/libjson/src/libJSON.cpp
@@ -440,13 +440,13 @@ LIBJSON_DLL(void) json_push_back(JSONNode *node, JSONNode *node2) {
LIBJSON_DLL(JSONNode*) json_pop_back_at(JSONNode *node, json_index_t pos) {
JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_pop_back_i"), return 0;);
- return MANAGER_INSERT(&node->pop_back(pos));
+ return MANAGER_INSERT(node->pop_back(pos));
}
LIBJSON_DLL(JSONNode*) json_pop_back(JSONNode *node, const json_char *name) {
JSON_ASSERT_SAFE(node, JSON_TEXT("null node to json_pop_back"), return 0;);
JSON_ASSERT_SAFE(name, JSON_TEXT("null name to json_pop_back. Did you mean to use json_pop_back_at?"), return 0;);
- return MANAGER_INSERT(&node->pop_back(name));
+ return MANAGER_INSERT(node->pop_back(name));
}
//comparison