Use C++ style cast.
This commit is contained in:
parent
b2ce7bedb6
commit
e222eacd74
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2006-12-01 Jochen Küpper <jochen@fhi-berlin.mpg.de>
|
||||
|
||||
* eoRNG.cpp: Use C++ style cast.
|
||||
|
||||
* Makefile.am: Add missing header for distribution.
|
||||
|
||||
2006-11-30 Jochen Küpper <jochen@fhi-berlin.mpg.de>
|
||||
|
|
|
|||
|
|
@ -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