On x86_64 Windows an unsigned long is 4 bytes, while a size_t is 8. As such this code causes a static assert checking that the size of both arguments to ceil_div is equal to fail at compilation time. This commit fixes this by replacing the unsigned long int literal with a size_t int literal.
On x86_64 Windows an unsigned long is 4 bytes, while a size_t is 8. As such this code causes a static assert checking that the size of both arguments to ceil_div is equal to fail at compilation time. This commit fixes this by replacing the unsigned long int literal with a size_t int literal.