[gtksourceview] trace: fix sign issues with mark duration
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] trace: fix sign issues with mark duration
- Date: Tue, 14 Dec 2021 22:14:40 +0000 (UTC)
commit 15ed787b5aa8567bb4d8bcdbf9378122f499a145
Author: Christian Hergert <chergert redhat com>
Date: Tue Dec 14 14:02:28 2021 -0800
trace: fix sign issues with mark duration
gtksourceview/gtksourcetrace.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcetrace.h b/gtksourceview/gtksourcetrace.h
index 8679fee2..2a5ac742 100644
--- a/gtksourceview/gtksourcetrace.h
+++ b/gtksourceview/gtksourcetrace.h
@@ -48,8 +48,8 @@ G_BEGIN_DECLS
} G_STMT_END
# define GTK_SOURCE_PROFILER_MARK(duration, name, message) \
G_STMT_START { \
- sysprof_collector_mark (SYSPROF_CAPTURE_CURRENT_TIME - duration, \
- duration, "GtkSourceView", name, message); \
+ sysprof_collector_mark (SYSPROF_CAPTURE_CURRENT_TIME - (duration), \
+ (duration), "GtkSourceView", name, message); \
} G_STMT_END
# define GTK_SOURCE_PROFILER_LOG(format, ...) \
G_STMT_START { \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]