From 9ee9388bc66e6cf68db96b2014dca2115f745dc9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 30 Aug 2022 22:33:46 -0700 Subject: [PATCH] scope: Use 0 instead of NULL for gboolean Fixes warnings with clang 15+ scope/src/stack.c:168:11: error: incompatible pointer to integer conversion initializing 'gboolean' (aka 'int') with an expression of type 'void *' [-Wint-conversion] gboolean entry = NULL; ^ ~~~~ 1 error generated. Upstream-Status: Submitted [https://github.com/geany/geany-plugins/pull/1191] Signed-off-by: Khem Raj --- scope/src/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope/src/stack.c b/scope/src/stack.c index b03909fe..041dd415 100644 --- a/scope/src/stack.c +++ b/scope/src/stack.c @@ -165,7 +165,7 @@ void on_stack_follow(GArray *nodes) gboolean stack_entry(void) { GtkTreeIter iter; - gboolean entry = NULL; + gboolean entry = 0; if (gtk_tree_selection_get_selected(selection, NULL, &iter)) { -- 2.37.3