Fix x64 integer crash