1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Description: Cast values to satisfy new gcc-14 requirements
Fix FTBFS with gcc-14
Author: Paul Mars <paul.mars@canonical.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075672
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xmms2/+bug/237497
Last-Update: 2024-09-13
---
src/lib/xmmstypes/coll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/lib/xmmstypes/coll.c
+++ b/src/lib/xmmstypes/coll.c
@@ -497,7 +497,7 @@
int
xmmsv_coll_attribute_get (xmmsv_coll_t *coll, const char *key, char **value)
{
- if (xmmsv_dict_entry_get_string (coll->attributes, key, value)) {
+ if (xmmsv_dict_entry_get_string (coll->attributes, key, (const char **)value)) {
return 1;
}
*value = NULL;
--- a/src/xmms/xform.c
+++ b/src/xmms/xform.c
@@ -854,7 +854,7 @@
obj = xmms_xform_auxdata_get_val (xform, key);
if (obj && xmmsv_get_type (obj) == XMMSV_TYPE_BIN) {
- xmmsv_get_bin (obj, data, datalen);
+ xmmsv_get_bin (obj, data, (unsigned int *)datalen);
return TRUE;
}
|