mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
c97562863f
Backport build fixed for gcc-15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 lines
994 B
Diff
31 lines
994 B
Diff
Fix build with GCC-15
|
|
|
|
Upstream-Status: Backport [https://github.com/geany/geany-plugins/pull/1389]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
--- a/git-changebar/src/gcb-plugin.c
|
|
+++ b/git-changebar/src/gcb-plugin.c
|
|
@@ -1410,9 +1410,9 @@ read_setting_boolean (GKeyFile *kf,
|
|
const gchar *key,
|
|
gpointer value)
|
|
{
|
|
- gboolean *bool = value;
|
|
+ gboolean *boolean = value;
|
|
|
|
- *bool = utils_get_setting_boolean (kf, group, key, *bool);
|
|
+ *boolean = utils_get_setting_boolean (kf, group, key, *boolean);
|
|
}
|
|
|
|
static void
|
|
@@ -1421,9 +1421,9 @@ write_setting_boolean (GKeyFile *kf,
|
|
const gchar *key,
|
|
gconstpointer value)
|
|
{
|
|
- const gboolean *bool = value;
|
|
+ const gboolean *boolean = value;
|
|
|
|
- g_key_file_set_boolean (kf, group, key, *bool);
|
|
+ g_key_file_set_boolean (kf, group, key, *boolean);
|
|
}
|
|
|
|
/* loads @filename in @kf and return %FALSE if failed, emitting a warning
|