From 047896ac162f034f583166af85b4df930fc95118 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 27 Jul 2004 07:10:16 +0000 Subject: [PATCH] fix for char* -> const char* conversion (g++ diagnostic) [SVN r24105] --- src/wrapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wrapper.cpp b/src/wrapper.cpp index eac7d972..f8feaef9 100755 --- a/src/wrapper.cpp +++ b/src/wrapper.cpp @@ -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(name)); }