--- /boost/function/function_template.hpp 2011-11-13 08:10:55.000000000 +0200 +++ /boost/function/function_template.hpp 2011-11-29 14:40:20.000000000 +0200 @@ -677,7 +677,7 @@ vtable_type* get_vtable() const { return reinterpret_cast( - reinterpret_cast(vtable) & ~static_cast(0x01)); + reinterpret_cast(vtable) & ~static_cast(0x01)); } struct clear_type {}; @@ -911,7 +911,7 @@ if (boost::has_trivial_copy_constructor::value && boost::has_trivial_destructor::value && detail::function::function_allows_small_object_optimization::value) - value |= static_cast(0x01); + value |= static_cast(0x01); vtable = reinterpret_cast(value); } else vtable = 0;