tvheadend42: fix gcc-15 build

patch from: 7ec273f4ff
This commit is contained in:
Rudi Heitbaum 2024-12-16 02:30:16 +00:00
parent 8227a01fc9
commit b61a2b5b07

View File

@ -0,0 +1,22 @@
diff --git a/src/htsmsg.h b/src/htsmsg.h
index 5cdcaa4867..d15c547e58 100644
--- a/src/htsmsg.h
+++ b/src/htsmsg.h
@@ -75,7 +75,7 @@ typedef struct htsmsg_field {
} bin;
htsmsg_t *msg;
double dbl;
- int bool;
+ int boolean;
} u;
#if ENABLE_SLOW_MEMORYINFO
@@ -91,7 +91,7 @@ typedef struct htsmsg_field {
#define hmf_bin u.bin.data
#define hmf_binsize u.bin.len
#define hmf_dbl u.dbl
-#define hmf_bool u.bool
+#define hmf_bool u.boolean
// backwards compat
#define htsmsg_get_map_by_field(f) htsmsg_field_get_map(f)