Change all `uint64_t` to `int64_t` because that's the only 64-bit integer supported by thrift.