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,
int cpu,
int group_fd,
gulong flags,
guint64 flags,
SysprofPerfEventCallback callback,
gpointer callback_data,
GDestroyNotify callback_data_destroy)
@ -509,7 +509,7 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
-1,
cpu,
group_fd_handle,
(guint64)flags),
flags),
G_VARIANT_TYPE ("(h)"),
G_DBUS_CALL_FLAGS_NONE,
G_MAXUINT,