Browse Source

change int type

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1754/head
R4SAS 2 years ago
parent
commit
c3a064f980
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      libi2pd/NetDb.cpp

2
libi2pd/NetDb.cpp

@ -109,7 +109,7 @@ namespace data @@ -109,7 +109,7 @@ namespace data
uint64_t lastSave = 0, lastPublish = 0, lastExploratory = 0, lastManageRequest = 0, lastDestinationCleanup = 0;
uint64_t lastProfilesCleanup = i2p::util::GetSecondsSinceEpoch ();
uint64_t profilesCleanupVariance = (rand () % (2 * i2p::data::PEER_PROFILE_AUTOCLEAN_VARIANCE) - i2p::data::PEER_PROFILE_AUTOCLEAN_VARIANCE);
int16_t profilesCleanupVariance = (rand () % (2 * i2p::data::PEER_PROFILE_AUTOCLEAN_VARIANCE) - i2p::data::PEER_PROFILE_AUTOCLEAN_VARIANCE);
while (m_IsRunning)
{

Loading…
Cancel
Save