]> git.kaiwu.me - nginx.git/commit
Win32: fixed wrong type cast.
authorKouhei Sutou <kou@cozmixng.org>
Sat, 11 Oct 2014 11:56:35 +0000 (20:56 +0900)
committerKouhei Sutou <kou@cozmixng.org>
Sat, 11 Oct 2014 11:56:35 +0000 (20:56 +0900)
commit3df66a632a8fae75511b4c96219dd3801f04c737
tree9157e8c4c3a1d0249b7608eb3a8eba92bb8fb274
parentc01481a4cb5c79e65bd259da6ad33a1eb95cc352
Win32: fixed wrong type cast.

GetQueuedCompletionStatus() document on MSDN says the
following signature:

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa364986.aspx

    BOOL WINAPI GetQueuedCompletionStatus(
      _In_   HANDLE CompletionPort,
      _Out_  LPDWORD lpNumberOfBytes,
      _Out_  PULONG_PTR lpCompletionKey,
      _Out_  LPOVERLAPPED *lpOverlapped,
      _In_   DWORD dwMilliseconds
    );

In the latest specification, the type of the third argument
(lpCompletionKey) is PULONG_PTR not LPDWORD.
src/event/modules/ngx_iocp_module.c