From 283da1e107cc90c0aa9d57d15502bc709a24d873 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 9 Jun 2023 16:34:49 -0700 Subject: [PATCH] libsysprof-profile: fix flags type So we can pass it right through. --- src/libsysprof-profile/sysprof-perf-event-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsysprof-profile/sysprof-perf-event-stream.c b/src/libsysprof-profile/sysprof-perf-event-stream.c index 91e4b45b..4623b2e1 100644 --- a/src/libsysprof-profile/sysprof-perf-event-stream.c +++ b/src/libsysprof-profile/sysprof-perf-event-stream.c @@ -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,