mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
bluez: fix gcc-14 build
this patch should be reviewed against potentially newer verion of this patch - https://coral.googlesource.com/bluez-imx/+log/refs/heads/release-chef - https://github.com/balena-os/balena-coral/tree/master/layers/meta-balena-coral/recipes-connectivity/bluez5/patches
This commit is contained in:
parent
99f934c5c8
commit
d0d70b3f44
@ -953,7 +953,7 @@ index 000000000..9a7f222c4
|
||||
+ return ret;
|
||||
+ }
|
||||
+
|
||||
+ while (getline(&line, &bytes_read, pfile) > 0 ) {
|
||||
+ while (getline(&line, (size_t *)&bytes_read, pfile) > 0 ) {
|
||||
+ if (line[0] != '#' && line[0] != '\n') {
|
||||
+ pch = memchr(line, '=', strlen(line));
|
||||
+ if (pch != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user