Fix memaccess error while compiling on 64-bit systems.