lib: make public reference count functions have strict types
[babeltrace.git] / tests / lib / test-plugin-plugins / sfs.c
index 91066435189ef58596cfa0a63e45a3358a93febe..beac97258a09d538aaf16532805d0b4ad112606c 100644 (file)
@@ -67,11 +67,11 @@ static enum bt_query_status flt_query_method(
        BT_ASSERT(*result);
        iret = bt_value_array_append_string_element(res, object);
        BT_ASSERT(iret == 0);
-       iret = bt_value_copy(&val, params);
+       iret = bt_value_copy(params, &val);
        BT_ASSERT(iret == 0);
        iret = bt_value_array_append_element(res, val);
        BT_ASSERT(iret == 0);
-       bt_object_put_ref(val);
+       bt_value_put_ref(val);
        return BT_QUERY_STATUS_OK;
 }
 
This page took 0.031103 seconds and 4 git commands to generate.