From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- plugins/FTPFileYM/src/job_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/FTPFileYM/src/job_generic.h') diff --git a/plugins/FTPFileYM/src/job_generic.h b/plugins/FTPFileYM/src/job_generic.h index ffc370958d..b81c6e5f5e 100644 --- a/plugins/FTPFileYM/src/job_generic.h +++ b/plugins/FTPFileYM/src/job_generic.h @@ -28,7 +28,7 @@ private: HANDLE handle; public: - Event() { handle = CreateEvent (0, FALSE, FALSE, 0); } + Event() { handle = CreateEvent(nullptr, FALSE, FALSE, nullptr); } ~Event() { CloseHandle (handle); } operator HANDLE () { return handle; } -- cgit v1.2.3