mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 15:05:35 -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
|
@ -50,7 +50,7 @@ class RsDiscSpace
|
|||
|
||||
static RsMutex _mtx ;
|
||||
|
||||
static time_t _last_check[RS_DIRECTORY_COUNT] ;
|
||||
static rstime_t _last_check[RS_DIRECTORY_COUNT] ;
|
||||
static uint32_t _size_limit_mb ;
|
||||
static uint32_t _current_size[RS_DIRECTORY_COUNT] ;
|
||||
static bool _last_res[RS_DIRECTORY_COUNT] ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue