Ticket #4805: python-fix-exec-test-msvc10.2.patch

File python-fix-exec-test-msvc10.2.patch, 537 bytes (added by Matthew Bradbury <matt-bradbury@…>, 12 years ago)
  • libs/python/test/exec.cpp

     
    3737    // http://boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html#python.class_virtual_functions
    3838    return python::call<std::string>(this->get_override("hello").ptr());
    3939#else
    40     return this->get_override("hello")();
     40    return static_cast<char const*>(this->get_override("hello")());
    4141#endif
    4242  }
    4343};