diff options
author | AE1020 <68134252+AE1020@users.noreply.github.com> | 2025-04-16 08:47:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-16 14:47:07 +0200 |
commit | bf6c8870dce4fb039f75561265edc9f604a8d834 (patch) | |
tree | 0b5524b9e3021fc3e5c9fe54dffd906bbb28c7a3 /docs/src | |
parent | bcc799a16ebb171b9be60a9ac69312ef020e7358 (diff) | |
download | libuv-bf6c8870dce4fb039f75561265edc9f604a8d834.tar.gz libuv-bf6c8870dce4fb039f75561265edc9f604a8d834.zip |
haiku: use uint32 instead of uint32_t (#4754)
Haiku has parallel types to stdint.h, and their APIs use these
types. In the Haiku-specific haiku.h file, it is passing an
address of a uint32_t to get_cpu_topology_info(), that expects
the other uint32:
https://github.com/haiku/haiku/blob/648fa5897c28d5a4c8a5b4992dbf9b9d410434c8/src/system/libroot/os/system_info.cpp#L187
You get an "incompatible-pointer-types" warning in gcc if the
warnings are turned up. But if you pass the pointer to Haiku's
notion of uint32, then the warning goes away.
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions