Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50327 - trunk/boost/interprocess/detail
From: igaztanaga_at_[hidden]
Date: 2008-12-19 13:58:26


Author: igaztanaga
Date: 2008-12-19 13:58:26 EST (Fri, 19 Dec 2008)
New Revision: 50327
URL: http://svn.boost.org/trac/boost/changeset/50327

Log:
Fixes wrong static_cast<> in return statement
Text files modified:
   trunk/boost/interprocess/detail/segment_manager_helper.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/detail/segment_manager_helper.hpp
==============================================================================
--- trunk/boost/interprocess/detail/segment_manager_helper.hpp (original)
+++ trunk/boost/interprocess/detail/segment_manager_helper.hpp 2008-12-19 13:58:26 EST (Fri, 19 Dec 2008)
@@ -382,7 +382,7 @@
    index_data(void *ptr) : m_ptr(ptr){}
 
    void *value() const
- { return static_cast<void>(detail::get_pointer(m_ptr)); }
+ { return static_cast<void*>(detail::get_pointer(m_ptr)); }
 };
 
 template<class MemoryAlgorithm>


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