mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
fix more compile errors
Avoid void * arithmetic Do explicit casts to target type to make c++ happy
This commit is contained in:
parent
3fa2ad33e4
commit
b0f4be5fbc
26 changed files with 175 additions and 159 deletions
|
|
@ -413,7 +413,7 @@ static int add_data(struct impl *this, const void *data, int size)
|
|||
if (processed < 0)
|
||||
return 0;
|
||||
|
||||
data += processed;
|
||||
data = SPA_MEMBER(data, processed, void);
|
||||
size -= processed;
|
||||
total += processed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue