summaryrefslogtreecommitdiff
path: root/src/game-server/main-game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/main-game.cpp')
-rw-r--r--src/game-server/main-game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp
index 3a12cdb8..8866a39b 100644
--- a/src/game-server/main-game.cpp
+++ b/src/game-server/main-game.cpp
@@ -165,7 +165,7 @@ static void initializeServer()
utils::processor::init();
// Seed the random number generator
- std::srand( time(NULL) );
+ std::srand( time(nullptr) );
}
@@ -257,7 +257,7 @@ static void parseOptions(int argc, char *argv[], CommandLineOptions &options)
while (optind < argc)
{
- int result = getopt_long(argc, argv, optString, longOptions, NULL);
+ int result = getopt_long(argc, argv, optString, longOptions, nullptr);
if (result == -1)
break;