fix some warnings

This commit is contained in:
Megamouse 2024-04-15 08:49:01 +02:00
parent e0d6f8a311
commit 2f53d58cd9
9 changed files with 20 additions and 21 deletions

View file

@ -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);
}