summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/log.cpp')
-rw-r--r--plugins/Ping/src/log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Ping/src/log.cpp b/plugins/Ping/src/log.cpp
index 6d1a2a9767..20782c2c17 100644
--- a/plugins/Ping/src/log.cpp
+++ b/plugins/Ping/src/log.cpp
@@ -10,8 +10,8 @@ INT_PTR Log(WPARAM wParam, LPARAM) {
GetLocalTime(&systime);
- GetTimeFormat(LOCALE_USER_DEFAULT, 0, &systime, 0, tbuf, 512);
- GetDateFormat(LOCALE_USER_DEFAULT, 0, &systime, 0, dbuf, 512);
+ GetTimeFormat(LOCALE_USER_DEFAULT, 0, &systime, nullptr, tbuf, 512);
+ GetDateFormat(LOCALE_USER_DEFAULT, 0, &systime, nullptr, dbuf, 512);
wchar_t *line = (wchar_t *)wParam;