Fixes CLANG warning re: unsigned long casting