From 3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 May 2018 16:02:14 +0200 Subject: mir_forkThread - stronger typizatioin for thread function parameter --- plugins/SplashScreen/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SplashScreen/src') diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index b143b9d756..e6d9106950 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -166,7 +166,7 @@ void SplashMain() } //if } while (FindNextFile(hFind, &ffd)); - srand((unsigned)time(nullptr)); + srand((unsigned)time(0)); int r = 0; if (filescount) r = (rand() % filescount) + 1; -- cgit v1.2.3