[gjs/gnome-41] profiler: Align types in function definition with header file



commit 837759d5109b58dad75a2d3e041ad0e62ea17994
Author: Evan Miller <emmiller gmail com>
Date:   Fri Mar 18 17:58:12 2022 -0700

    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(-)
---
diff --git a/gjs/profiler.cpp b/gjs/profiler.cpp
index b5dc0aaa4..095f7a63f 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]