mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Tweaks for 32bit systems
This commit is contained in:
parent
83d7886a0a
commit
32e2c9c48e
2 changed files with 13 additions and 5 deletions
|
|
@ -34,7 +34,9 @@ RND::RND()
|
|||
|
||||
gettimeofday(&tv,NULL);
|
||||
|
||||
G_SEED = ((tv.tv_sec << 32) | (tv.tv_usec));
|
||||
G_SEED = tv.tv_sec;
|
||||
G_SEED <<= 32;
|
||||
G_SEED |= tv.tv_usec;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue