From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/Win32Main.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Win32Main.cxx') 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(); -- cgit v1.2.3