Use C++ style cast.
This commit is contained in:
parent
b2ce7bedb6
commit
e222eacd74
2 changed files with 3 additions and 1 deletions
|
|
@ -9,6 +9,6 @@
|
|||
namespace eo
|
||||
{
|
||||
/// The Global random number generator.
|
||||
eoRng rng( (uint32_t) time(0) );
|
||||
eoRng rng(static_cast<uint32_t>(time(0)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue