mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
fix warnings (#648)
* fix unknown command line argument * fix warnings settings for gcc * fix -Wzero-as-null-pointer-constant * revert CMakeLists.txt
This commit is contained in:
parent
8f3e5e880c
commit
24931770d3
50 changed files with 69 additions and 61 deletions
|
|
@ -23,7 +23,7 @@ namespace util {
|
|||
PseudoRandom(unsigned short seed) : seed(seed) {}
|
||||
|
||||
PseudoRandom() {
|
||||
seed = static_cast<unsigned short>(time(0));
|
||||
seed = static_cast<unsigned short>(time(nullptr));
|
||||
}
|
||||
|
||||
int rand() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue