summaryrefslogtreecommitdiff
path: root/src/mmo/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mmo/utils.cpp')
-rw-r--r--src/mmo/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mmo/utils.cpp b/src/mmo/utils.cpp
index 30f60b1..2199c33 100644
--- a/src/mmo/utils.cpp
+++ b/src/mmo/utils.cpp
@@ -96,7 +96,7 @@ void stamp_time(timestamp_seconds_buffer& out, const TimeT *t)
void stamp_time(timestamp_milliseconds_buffer& out)
{
struct timeval tv;
- gettimeofday(&tv, NULL);
+ gettimeofday(&tv, nullptr);
struct tm when = TimeT(tv.tv_sec);
char buf[24];
strftime(buf, 20, "%Y-%m-%d %H:%M:%S", &when);