summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2018-08-13 10:01:19 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2018-08-13 10:01:19 +0000
commit990f601ce2682dabc044db4b95e38ad855373af7 (patch)
treee71c307923805a4ae52fca388a48d56fcb7fe2eb /ev.c
parentcf5975ab2425a5c4205ff3d6d6565f318169b4c6 (diff)
downloadlibev-990f601ce2682dabc044db4b95e38ad855373af7.tar.gz
libev-990f601ce2682dabc044db4b95e38ad855373af7.zip
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 5127150..e2b83ea 100644
--- a/ev.c
+++ b/ev.c
@@ -2477,7 +2477,7 @@ evpipe_write (EV_P_ EV_ATOMIC_T *flag)
#ifdef _WIN32
WSABUF buf;
DWORD sent;
- buf.buf = &buf;
+ buf.buf = (char *)&buf;
buf.len = 1;
WSASend (EV_FD_TO_WIN32_HANDLE (evpipe [1]), &buf, 1, &sent, 0, 0, 0);
#else