2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 05:02:17 +00:00

fix for char* -> const char* conversion (g++ diagnostic)

[SVN r24105]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2004-07-27 07:10:16 +00:00
parent fbe3a563c3
commit 047896ac16

View File

@@ -29,7 +29,8 @@ namespace detail
&& class_object->tp_dict != 0
)
{
borrowed_f = ::PyDict_GetItemString(class_object->tp_dict, name);
borrowed_f = ::PyDict_GetItemString(
class_object->tp_dict, const_cast<char*>(name));
}