summaryrefslogtreecommitdiff
path: root/gjs/profiler.cpp
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2023-03-05 18:26:25 +0000
committerPhilip Chimento <philip.chimento@gmail.com>2023-03-05 18:26:25 +0000
commitad36414e00d4d9c1b0160e1ec3041fd1607dcd77 (patch)
treeb9ece2e1fda25100814480aaea1c21cf0701bdd4 /gjs/profiler.cpp
parent12de7257e2923c5285614d51f06d751ebc0c60a8 (diff)
parent52adc35e38b2475fd6468982bb9ed31d50304f36 (diff)
downloadgjs-ad36414e00d4d9c1b0160e1ec3041fd1607dcd77.tar.gz
Merge branch 'february-maintenance' into 'master'
February maintenance See merge request GNOME/gjs!828
Diffstat (limited to 'gjs/profiler.cpp')
-rw-r--r--gjs/profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gjs/profiler.cpp b/gjs/profiler.cpp
index 39c19621..1a5560f7 100644
--- a/gjs/profiler.cpp
+++ b/gjs/profiler.cpp
@@ -653,7 +653,7 @@ gjs_profiler_stop(GjsProfiler *self)
static gboolean
gjs_profiler_sigusr2(void *data)
{
- auto context = static_cast<GjsContext *>(data);
+ GjsContext* context = GJS_CONTEXT(data);
GjsProfiler *current_profiler = gjs_context_get_profiler(context);
if (current_profiler) {