Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve warning in ptr macros with pointer to integer cast
A warning from pointer-to-int-cast is being thrown due to the _ck_assert_ptr and _ck_assert_ptr_null macros casting a pointer to an integer value (for printing), but the pointer and integer sizes are different. This commit first casts the pointer to a uintptr_t value before casting it to an unsigned long.
- Loading branch information