Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid a gcc -Wint-to-pointer-cast warning
On 32-bit platforms long long is generally 64-bits. Sufficiently modern versions of gcc (13 in my testing) complains when casting a pointer to an integer of a different width so cast to uintptr_t first to avoid the warning. Fixes: c183d16 Parallel pool import Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Don Brady <don.brady@klarasystems.com> Signed-off-by: Brooks Davis <brooks.davis@sri.com> Closes openzfs#16203
- Loading branch information