summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/basewrapper.cpp')
-rw-r--r--libshiboken/basewrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index 92b6b1d3..dde7a715 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -426,7 +426,7 @@ static PyObject* SbkBaseWrapper_get_dict(SbkBaseWrapper* obj)
}
static PyGetSetDef SbkBaseWrapper_getsetlist[] = {
- {"__dict__", (getter)SbkBaseWrapper_get_dict, 0},
+ {const_cast<char*>("__dict__"), (getter)SbkBaseWrapper_get_dict, 0},
{0} // Sentinel
};