changed u64 to c_ulong

I can't seem to get this to compile with it casting to u64.