Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58671 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2010-01-04 07:33:42


Author: chris_kohlhoff
Date: 2010-01-04 07:33:42 EST (Mon, 04 Jan 2010)
New Revision: 58671
URL: http://svn.boost.org/trac/boost/changeset/58671

Log:
Fix Win64 warnings.

Text files modified:
   trunk/boost/asio/detail/win_iocp_io_service.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/asio/detail/win_iocp_io_service.hpp
==============================================================================
--- trunk/boost/asio/detail/win_iocp_io_service.hpp (original)
+++ trunk/boost/asio/detail/win_iocp_io_service.hpp 2010-01-04 07:33:42 EST (Mon, 04 Jan 2010)
@@ -95,13 +95,13 @@
         iocp_service_.post_completion(this, last_error_, bytes_transferred_);
     }
 
- void on_immediate_completion(DWORD last_error, size_t bytes_transferred)
+ void on_immediate_completion(DWORD last_error, DWORD bytes_transferred)
     {
       ready_ = 1;
       iocp_service_.post_completion(this, last_error, bytes_transferred);
     }
 
- bool on_completion(DWORD last_error, size_t bytes_transferred)
+ bool on_completion(DWORD last_error, DWORD bytes_transferred)
     {
       if (last_error_ == ~DWORD(0))
       {
@@ -134,7 +134,7 @@
     win_iocp_io_service& iocp_service_;
     long ready_;
     DWORD last_error_;
- std::size_t bytes_transferred_;
+ DWORD bytes_transferred_;
     invoke_func_type invoke_func_;
     destroy_func_type destroy_func_;
   };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk