mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
treewide: fix some format string issues
Use the proper specifier, and cast to a known type where the type is not guaranteed by any standard. See #3975
This commit is contained in:
parent
a7a0e2072e
commit
8a4ff447d9
5 changed files with 8 additions and 7 deletions
|
|
@ -832,7 +832,7 @@ static int negotiate_formats(struct data *data)
|
|||
if ((res = spa_node_port_use_buffers(data->source_node,
|
||||
SPA_DIRECTION_OUTPUT, 0, 0, data->source_buffers, 1)) < 0)
|
||||
return res;
|
||||
printf("allocated and assigned buffer(%ld) to source node %p\n", buffer_size, data->source_node);
|
||||
printf("allocated and assigned buffer (%zu) to source node %p\n", buffer_size, data->source_node);
|
||||
if ((res = spa_node_port_use_buffers(data->sink_node,
|
||||
SPA_DIRECTION_INPUT, 0, 0, data->source_buffers, 1)) < 0)
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue