ext/libuv/src/win/pipe.c in libuv-0.12.4 vs ext/libuv/src/win/pipe.c in libuv-1.0.0
- old
+ new
@@ -113,10 +113,10 @@
handle->read_req.data = handle;
handle->eof_timer = NULL;
}
-static HANDLE open_named_pipe(WCHAR* name, DWORD* duplex_flags) {
+static HANDLE open_named_pipe(const WCHAR* name, DWORD* duplex_flags) {
HANDLE pipeHandle;
/*
* Assume that we have a duplex pipe first, so attempt to
* connect with GENERIC_READ | GENERIC_WRITE.