From ff4fce0e2ffbd5093d2a3f2a638d29e7ed757595 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Fri, 19 Jun 2020 16:09:32 +0200 Subject: [PATCH] FIx compilation error --- src/io_event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io_event.rs b/src/io_event.rs index c7b5bba..2bcdaec 100644 --- a/src/io_event.rs +++ b/src/io_event.rs @@ -81,7 +81,7 @@ impl IoEvent { atomic::fence(Ordering::SeqCst); unsafe { - PostQueuedCompletionStatus(reactor.sys.0.as_raw_handle(), 0, 0, 0 as *mut _); + PostQueuedCompletionStatus(reactor.sys.0.as_raw_handle() as _, 0, 0, 0 as *mut _); } }