Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78083 - trunk/boost/context/detail
From: oliver.kowalke_at_[hidden]
Date: 2012-04-19 15:33:26


Author: olli
Date: 2012-04-19 15:33:26 EDT (Thu, 19 Apr 2012)
New Revision: 78083
URL: http://svn.boost.org/trac/boost/changeset/78083

Log:
context: cast for void *
Text files modified:
   trunk/boost/context/detail/fcontext_x86_64_win.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/context/detail/fcontext_x86_64_win.hpp
==============================================================================
--- trunk/boost/context/detail/fcontext_x86_64_win.hpp (original)
+++ trunk/boost/context/detail/fcontext_x86_64_win.hpp 2012-04-19 15:33:26 EDT (Thu, 19 Apr 2012)
@@ -50,7 +50,8 @@
         fc_buffer()
     {
         if ( 0 != ( ( ( uintptr_t) fc_buffer) & 15) )
- fc_fp = ( ( ( ( uintptr_t) fc_buffer) + 16) >> 4) << 4;
+ fc_fp = ( boost::uint8_t *)
+ ( ( ( ( ( uintptr_t) fc_buffer) + 16) >> 4) << 4);
     }
 };
 


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