ITS#10244 win32: Fix passed ptr type

From dfb3bbed65 ITS#9017
This commit is contained in:
Andras 2024-07-29 14:28:16 +03:00 committed by Howard Chu
parent ddd0a773e2
commit 9c9d34558c

View File

@ -3918,9 +3918,11 @@ retry_seek:
rc = 0;
while (--async_i >= 0) {
if (ov[async_i].hEvent) {
if (!GetOverlappedResult(fd, &ov[async_i], &wres, TRUE)) {
DWORD temp_wres;
if (!GetOverlappedResult(fd, &ov[async_i], &temp_wres, TRUE)) {
rc = ErrCode(); /* Continue on so that all the event signals are reset */
}
wres = temp_wres;
}
}
if (rc) { /* any error on GetOverlappedResult, exit now */