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.
This is the change referenced in #280 and attributed to vtorri.
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.
This is the change referenced in #280 and attributed to vtorri.