diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-07 08:41:20 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-07 08:41:20 -0800 |
commit | e762e48d6fbab7bd5137c369fa49df25ccd5369d (patch) | |
tree | ef457564aff53d1880531c3f24d7da301988b2d8 /Source/Random.cpp | |
parent | 1cad9871174728c15abbdb71ee5cbe2cf03ccf0c (diff) | |
download | witness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.tar.gz witness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.tar.bz2 witness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.zip |
Warnings clean because fml
Diffstat (limited to 'Source/Random.cpp')
-rw-r--r-- | Source/Random.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Random.cpp b/Source/Random.cpp index d8f5eb2..d6e86a6 100644 --- a/Source/Random.cpp +++ b/Source/Random.cpp | |||
@@ -1,7 +1,7 @@ | |||
1 | #include <chrono> | 1 | #include <chrono> |
2 | #include "Random.h" | 2 | #include "Random.h" |
3 | 3 | ||
4 | int Random::s_seed = time(nullptr); // Seed from the time in milliseconds | 4 | int Random::s_seed = static_cast<int>(time(nullptr)); // Seed from the time in milliseconds |
5 | 5 | ||
6 | void Random::SetSeed(int seed) { | 6 | void Random::SetSeed(int seed) { |
7 | s_seed = seed; | 7 | s_seed = seed; |