Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76425 - trunk/boost/asio/detail/impl
From: chris_at_[hidden]
Date: 2012-01-12 02:37:58


Author: chris_kohlhoff
Date: 2012-01-12 02:37:57 EST (Thu, 12 Jan 2012)
New Revision: 76425
URL: http://svn.boost.org/trac/boost/changeset/76425

Log:
Fix for NetBSD. Refs #6098.
Text files modified:
   trunk/boost/asio/detail/impl/kqueue_reactor.ipp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/asio/detail/impl/kqueue_reactor.ipp
==============================================================================
--- trunk/boost/asio/detail/impl/kqueue_reactor.ipp (original)
+++ trunk/boost/asio/detail/impl/kqueue_reactor.ipp 2012-01-12 02:37:57 EST (Thu, 12 Jan 2012)
@@ -28,8 +28,8 @@
 
 #if defined(__NetBSD__)
 # define BOOST_ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \
- EV_SET(ev, ident, filt, flags, fflags, \
- data, reinterpret_cast<intptr_t>(udata))
+ EV_SET(ev, ident, filt, flags, fflags, data, \
+ reinterpret_cast<intptr_t>(static_cast<void*>(udata)))
 #else
 # define BOOST_ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \
     EV_SET(ev, ident, filt, flags, fflags, data, udata)


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