summaryrefslogtreecommitdiff
path: root/gjs/profiler.cpp
diff options
context:
space:
mode:
authorEvan Miller <emmiller@gmail.com>2022-03-18 17:58:12 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2022-03-18 17:58:37 -0700
commit6d6aaa9a9953900b8f47f7bc9e1162e01fe132d7 (patch)
treeb62579d742b33ba55a9473c35d8fe8c8fd6da33b /gjs/profiler.cpp
parentddcf2886fbd2ab63afc0144b729336f8dbf88817 (diff)
downloadgjs-6d6aaa9a9953900b8f47f7bc9e1162e01fe132d7.tar.gz
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.
Diffstat (limited to 'gjs/profiler.cpp')
-rw-r--r--gjs/profiler.cpp4
1 files changed, 2 insertions, 2 deletions
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);