mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
Use types with known sizes where we can, easier to serialize
Add iterator for POD and use it to implement some demarshalling.
This commit is contained in:
parent
23d09d5b60
commit
f92b68c3c3
77 changed files with 839 additions and 695 deletions
|
|
@ -105,7 +105,7 @@ pinos_properties_new (const char *key, ...)
|
|||
PinosProperties *
|
||||
pinos_properties_new_dict (const SpaDict *dict)
|
||||
{
|
||||
unsigned int i;
|
||||
uint32_t i;
|
||||
PinosPropertiesImpl *impl;
|
||||
|
||||
impl = calloc (1, sizeof (PinosPropertiesImpl));
|
||||
|
|
@ -307,7 +307,7 @@ pinos_properties_iterate (PinosProperties *properties,
|
|||
void **state)
|
||||
{
|
||||
PinosPropertiesImpl *impl = SPA_CONTAINER_OF (properties, PinosPropertiesImpl, this);
|
||||
unsigned int index;
|
||||
uint32_t index;
|
||||
|
||||
if (*state == NULL)
|
||||
index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue