mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00: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
|
@ -74,7 +74,7 @@ extern "C" {
|
|||
* first item to get re-used on the next insert.
|
||||
*/
|
||||
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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue