diff --git a/src/mingw/device.c b/src/mingw/device.c index 33b13da6..10f7abce 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -60,7 +60,7 @@ static void device_issue_read() { } } -static void device_handle_read(void *data) { +static void device_handle_read(void *data, int flags) { ResetEvent(device_read_overlapped.hEvent); DWORD len;