Replace ulong with size_t

This commit is contained in:
alesapin 2021-01-26 10:52:34 +03:00
parent 10cec45e53
commit ddeb008bbb
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ void SummingStateMachine::save_logical_snp_obj(
int SummingStateMachine::read_logical_snp_obj( int SummingStateMachine::read_logical_snp_obj(
nuraft::snapshot & s, nuraft::snapshot & s,
void* & /*user_snp_ctx*/, void* & /*user_snp_ctx*/,
ulong obj_id, size_t obj_id,
nuraft::ptr<nuraft::buffer> & data_out, nuraft::ptr<nuraft::buffer> & data_out,
bool & is_last_obj) bool & is_last_obj)
{ {

View File

@ -41,7 +41,7 @@ public:
int read_logical_snp_obj( int read_logical_snp_obj(
nuraft::snapshot & s, nuraft::snapshot & s,
void* & user_snp_ctx, void* & user_snp_ctx,
ulong obj_id, size_t obj_id,
nuraft::ptr<nuraft::buffer> & data_out, nuraft::ptr<nuraft::buffer> & data_out,
bool & is_last_obj) override; bool & is_last_obj) override;