diff options
Diffstat (limited to 'pr/src/io/prsocket.c')
-rw-r--r-- | pr/src/io/prsocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/io/prsocket.c b/pr/src/io/prsocket.c index e0f917c1..4ca2bad8 100644 --- a/pr/src/io/prsocket.c +++ b/pr/src/io/prsocket.c @@ -322,7 +322,7 @@ static PRStatus PR_CALLBACK SocketConnectContinue( #if defined(_WIN64) if (fd->secret->overlappedActive) { PRInt32 rvSent; - if (GetOverlappedResult(osfd, &fd->secret->ol, &rvSent, FALSE) == FALSE) { + if (GetOverlappedResult((HANDLE)osfd, &fd->secret->ol, &rvSent, FALSE) == FALSE) { err = WSAGetLastError(); PR_LOG(_pr_io_lm, PR_LOG_MIN, ("SocketConnectContinue GetOverlappedResult failed %d\n", err)); @@ -354,7 +354,7 @@ static PRStatus PR_CALLBACK SocketConnectContinue( if (fd->secret->overlappedActive) { PR_ASSERT(fd->secret->nonblocking); PRInt32 rvSent; - if (GetOverlappedResult(osfd, &fd->secret->ol, &rvSent, FALSE) == TRUE) { + if (GetOverlappedResult((HANDLE)osfd, &fd->secret->ol, &rvSent, FALSE) == TRUE) { fd->secret->overlappedActive = PR_FALSE; PR_LOG(_pr_io_lm, PR_LOG_MIN, ("SocketConnectContinue GetOverlappedResult succeeded\n")); |