mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
map: use uintptr_t for the next pointer
This aligns the low bits of the next field with the low bits of the pointer on big endian cpus. Fixes #1747
This commit is contained in:
parent
c07f0ccb71
commit
5dfc3494dc
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ extern "C" {
|
||||||
* first item to get re-used on the next insert.
|
* first item to get re-used on the next insert.
|
||||||
*/
|
*/
|
||||||
union pw_map_item {
|
union pw_map_item {
|
||||||
uint32_t next; /* next free index */
|
uintptr_t next; /* next free index */
|
||||||
void *data; /* data of this item, must be an even address */
|
void *data; /* data of this item, must be an even address */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue