silly python headers

This commit is contained in:
David Rose 2009-07-14 21:01:19 +00:00
parent 1b6bb92da5
commit 6794656499
1 changed files with 1 additions and 1 deletions

View File

@ -1294,7 +1294,7 @@ xml_to_pyobj(TiXmlElement *xvalue) {
if (key != NULL) {
PyObject *item = xml_to_pyobj(xitem);
if (item != NULL) {
PyObject_SetAttrString(obj, key, item);
PyObject_SetAttrString(obj, (char *)key, item);
Py_DECREF(item);
}
}