summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/job_generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/job_generic.h')
-rw-r--r--plugins/FTPFileYM/src/job_generic.h2
1 files changed, 1 insertions, 1 deletions
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; }