Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphBLAS: Avoid warning from Clang 17.
Clang 17 emits more warnings (or errors) when it comes to incompatible pointer types. `_InterlockedCompareExchange` is declared with `long volatile *` as the type of its first input argument See: https://learn.microsoft.com/en-us/cpp/intrinsics/interlockedcompareexchange-intrinsic-functions?view=msvc-170 `int32_t` is `int` on Windows. While `long` and `int` have the same size on Windows (LLP64 data model), they are technically distinct types. Avoid the compiler warning by casting to the pointer type expected by that function.
- Loading branch information