mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-07 15:36:18 +00:00
fix some warnings
This commit is contained in:
parent
e0d6f8a311
commit
2f53d58cd9
9 changed files with 20 additions and 21 deletions
|
|
@ -13,6 +13,6 @@ bool cfg_root::node_core::enable_tsx_by_default()
|
|||
|
||||
std::string cfg_root::node_sys::get_random_system_name()
|
||||
{
|
||||
std::srand(std::time(nullptr));
|
||||
std::srand(static_cast<u32>(std::time(nullptr)));
|
||||
return "RPCS3-" + std::to_string(100 + std::rand() % 899);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue