libsysprof-profile: fix flags type

So we can pass it right through.
This commit is contained in:
Christian Hergert
2023-06-09 16:34:49 -07:00
parent 739ff7b19c
commit 283da1e107

View File

@ -448,7 +448,7 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
struct perf_event_attr *attr, struct perf_event_attr *attr,
int cpu, int cpu,
int group_fd, int group_fd,
gulong flags, guint64 flags,
SysprofPerfEventCallback callback, SysprofPerfEventCallback callback,
gpointer callback_data, gpointer callback_data,
GDestroyNotify callback_data_destroy) GDestroyNotify callback_data_destroy)
@ -509,7 +509,7 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
-1, -1,
cpu, cpu,
group_fd_handle, group_fd_handle,
(guint64)flags), flags),
G_VARIANT_TYPE ("(h)"), G_VARIANT_TYPE ("(h)"),
G_DBUS_CALL_FLAGS_NONE, G_DBUS_CALL_FLAGS_NONE,
G_MAXUINT, G_MAXUINT,