summaryrefslogtreecommitdiffhomepage
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 1c4908f..2d96aa3 100644
--- a/lib.c
+++ b/lib.c
@@ -502,7 +502,7 @@ uc_unshift(uc_vm *vm, size_t nargs)
json_object_array_put_idx(arr, arridx, uc_value_get(item));
}
- return item;
+ return uc_value_get(item);
}
static json_object *