aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/Random.cpp
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-14 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-15 23:55:04 +0500
commitfc662341e6f85da78ada0e443f6116b978f79f22 (patch)
tree1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /CPP/Common/Random.cpp
parent5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff)
download7zip-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.cpp4
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
15void CRandom::Init(unsigned int seed) { srand(seed); } 15void CRandom::Init(unsigned seed) { srand(seed); }
16 16
17void CRandom::Init() 17void 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