Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace unsigned long cast with cast to size_t (thanks, David!).
When targeting MinGW-w64's x86_64 target, unsigned long is 4 bytes but void* is 8 bytes. This mismatch triggers the pointer-to-int-cast warning. (This patch was originally David Yip's work, with uintptr_t instead of size_t).
- Loading branch information