mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 05:44:45 -04:00
Use safer rstime_t instead of time_t
Avoid problems to serialization on different platforms, without breaking nested STL containers serialization. The conversion have been made with sed, and checked with grep, plus kdiff3 visual ispection, plus rutime tests, so it should be fine.
This commit is contained in:
parent
41aa675a9b
commit
329050a9c2
223 changed files with 930 additions and 911 deletions
|
@ -149,13 +149,13 @@ struct RsConfigDataRates : RsSerializable
|
|||
float mRateMaxIn;
|
||||
float mAllocIn;
|
||||
|
||||
time_t mAllocTs;
|
||||
rstime_t mAllocTs;
|
||||
|
||||
float mRateOut;
|
||||
float mRateMaxOut;
|
||||
float mAllowedOut;
|
||||
|
||||
time_t mAllowedTs;
|
||||
rstime_t mAllowedTs;
|
||||
|
||||
int mQueueIn;
|
||||
int mQueueOut;
|
||||
|
@ -181,7 +181,7 @@ struct RsConfigDataRates : RsSerializable
|
|||
|
||||
struct RSTrafficClue : RsSerializable
|
||||
{
|
||||
time_t TS ;
|
||||
rstime_t TS ;
|
||||
uint32_t size ;
|
||||
uint8_t priority ;
|
||||
uint16_t service_id ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue