diff --git a/doc/pointers.html b/doc/pointers.html index 26f96f0d..bf8ec8ae 100644 --- a/doc/pointers.html +++ b/doc/pointers.html @@ -90,7 +90,7 @@ BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE // this is a gcc 2.95.2 bug workaround PyObject* to_python(const Foo* p) { - return to_python(const_cast(p)); + return to_python(const_cast<Foo*>(p)); } BOOST_PYTHON_END_CONVERSION_NAMESPACE