Sizeof returns size_t, which is not always the same as int. This cast will prevent compiler warnings on some architectures (eg. x86_64)