From 6d6aaa9a9953900b8f47f7bc9e1162e01fe132d7 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Fri, 18 Mar 2022 17:58:12 -0700 Subject: profiler: Align types in function definition with header file Same gint64/int64_t type mismatch on Darwin (long vs long long) as the previous commit. --- gjs/profiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gjs/profiler.cpp') diff --git a/gjs/profiler.cpp b/gjs/profiler.cpp index b5dc0aaa..095f7a63 100644 --- a/gjs/profiler.cpp +++ b/gjs/profiler.cpp @@ -786,8 +786,8 @@ gjs_profiler_set_filename(GjsProfiler *self, self->filename = g_strdup(filename); } -void _gjs_profiler_add_mark(GjsProfiler* self, gint64 time_nsec, - gint64 duration_nsec, const char* group, +void _gjs_profiler_add_mark(GjsProfiler* self, int64_t time_nsec, + int64_t duration_nsec, const char* group, const char* name, const char* message) { g_return_if_fail(self); g_return_if_fail(group); -- cgit v1.2.1