diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
commit | 59f8144c50765189594d5932fc25869f9ea6e265 (patch) | |
tree | f460d9f46a99040dea402bcb3ad2d84a0e734285 /src/Win32Main.cxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/Win32Main.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Win32Main.cxx b/src/Win32Main.cxx index 3e5ee67cd..02dc02896 100644 --- a/src/Win32Main.cxx +++ b/src/Win32Main.cxx @@ -44,7 +44,7 @@ service_main(DWORD argc, CHAR *argv[]); static SERVICE_TABLE_ENTRY service_registry[] = { {service_name, service_main}, - {NULL, NULL} + {nullptr, nullptr} }; static void @@ -87,7 +87,7 @@ service_main(gcc_unused DWORD argc, gcc_unused CHAR *argv[]) service_handle = RegisterServiceCtrlHandlerEx(service_name, - service_dispatcher, NULL); + service_dispatcher, nullptr); if (service_handle == 0) { error_code = GetLastError(); |