Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Common/Random.cpp')
-rwxr-xr-xCommon/Random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common/Random.cpp b/Common/Random.cpp
index c003e8a7..f4a629c2 100755
--- a/Common/Random.cpp
+++ b/Common/Random.cpp
@@ -11,7 +11,7 @@ void CRandom::Init(unsigned int seed)
{ srand(seed); }
void CRandom::Init()
- { Init(time(NULL)); }
+ { Init((unsigned int)time(NULL)); }
int CRandom::Generate() const
{ return rand(); }