Cleanup: clarify bytecode ownership
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index 7490f8b72d22f28435a63475e3900953892d74b8..9ba5acd5a60d72f9e9ede918a70b2cab87243abc 100644 (file)
@@ -712,10 +712,10 @@ long lttng_event_notifier_enabler_cmd(int objd, unsigned int cmd, unsigned long
        case LTTNG_UST_FILTER:
                return lttng_event_notifier_enabler_attach_filter_bytecode(
                        event_notifier_enabler,
-                       (struct lttng_ust_bytecode_node *) arg);
+                       (struct lttng_ust_bytecode_node **) arg);
        case LTTNG_UST_EXCLUSION:
                return lttng_event_notifier_enabler_attach_exclusion(event_notifier_enabler,
-                       (struct lttng_ust_excluder_node *) arg);
+                       (struct lttng_ust_excluder_node **) arg);
        case LTTNG_UST_CAPTURE:
                return lttng_event_notifier_enabler_attach_capture_bytecode(
                        event_notifier_enabler,
@@ -1291,7 +1291,7 @@ long lttng_event_enabler_cmd(int objd, unsigned int cmd, unsigned long arg,
                int ret;
 
                ret = lttng_event_enabler_attach_filter_bytecode(enabler,
-                               (struct lttng_ust_bytecode_node *) arg);
+                               (struct lttng_ust_bytecode_node **) arg);
                if (ret)
                        return ret;
                return 0;
@@ -1299,7 +1299,7 @@ long lttng_event_enabler_cmd(int objd, unsigned int cmd, unsigned long arg,
        case LTTNG_UST_EXCLUSION:
        {
                return lttng_event_enabler_attach_exclusion(enabler,
-                               (struct lttng_ust_excluder_node *) arg);
+                               (struct lttng_ust_excluder_node **) arg);
        }
        default:
                return -EINVAL;
This page took 0.023319 seconds and 4 git commands to generate.