diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-14 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-15 23:55:04 +0500 |
commit | fc662341e6f85da78ada0e443f6116b978f79f22 (patch) | |
tree | 1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /CPP/Common/Random.cpp | |
parent | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff) | |
download | 7zip-24.05.tar.gz 7zip-24.05.tar.bz2 7zip-24.05.zip |
24.0524.05
Diffstat (limited to 'CPP/Common/Random.cpp')
-rw-r--r-- | CPP/Common/Random.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/Common/Random.cpp b/CPP/Common/Random.cpp index fbdb8c9..6ef9f1a 100644 --- a/CPP/Common/Random.cpp +++ b/CPP/Common/Random.cpp | |||
@@ -12,11 +12,11 @@ | |||
12 | 12 | ||
13 | #include "Random.h" | 13 | #include "Random.h" |
14 | 14 | ||
15 | void CRandom::Init(unsigned int seed) { srand(seed); } | 15 | void CRandom::Init(unsigned seed) { srand(seed); } |
16 | 16 | ||
17 | void CRandom::Init() | 17 | void CRandom::Init() |
18 | { | 18 | { |
19 | Init((unsigned int) | 19 | Init((unsigned) |
20 | #ifdef _WIN32 | 20 | #ifdef _WIN32 |
21 | GetTickCount() | 21 | GetTickCount() |
22 | #else | 22 | #else |