diff options
author | Steve Huston <shuston@riverace.com> | 2002-07-11 19:05:11 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-07-11 19:05:11 +0000 |
commit | 9d42538910817fe80869d5d7f5109bba571af5be (patch) | |
tree | 860046080856465eb0bc7c312b3be34a0a2d218d /ace/WIN32_Proactor.cpp | |
parent | e516d1c93fb273262c591f52e9c5f1d05606cf13 (diff) | |
download | ATCD-9d42538910817fe80869d5d7f5109bba571af5be.tar.gz |
ChangeLogTag:Thu Jul 11 15:03:47 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/WIN32_Proactor.cpp')
-rw-r--r-- | ace/WIN32_Proactor.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ace/WIN32_Proactor.cpp b/ace/WIN32_Proactor.cpp index ad4fb83df36..1ba58165d94 100644 --- a/ace/WIN32_Proactor.cpp +++ b/ace/WIN32_Proactor.cpp @@ -83,7 +83,11 @@ ACE_WIN32_Proactor::close (void) { ACE_OVERLAPPED *overlapped = 0; u_long bytes_transferred = 0; - u_long completion_key = 0; +#if defined (ACE_WIN64) + ULONG_PTR completion_key = 0; +#else + ULONG completion_key = 0; +#endif /* ACE_WIN64 */ // Get the next asynchronous operation that completes BOOL res = ::GetQueuedCompletionStatus @@ -547,7 +551,11 @@ ACE_WIN32_Proactor::handle_events (unsigned long milli_seconds) { ACE_OVERLAPPED *overlapped = 0; u_long bytes_transferred = 0; - u_long completion_key = 0; +#if defined (ACE_WIN64) + ULONG_PTR completion_key = 0; +#else + ULONG completion_key = 0; +#endif /* ACE_WIN64 */ // Get the next asynchronous operation that completes BOOL result = ::GetQueuedCompletionStatus (this->completion_port_, |