Fix build on python2.5.
Doing the merge request for Hugo as he went on vacation today :)
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
1a5de6c46c
commit
d351f6a015
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ struct Converter<PySide::PyObjectWrapper>
|
||||||
|
|
||||||
static PyObject* toPython(const PySide::PyObjectWrapper& obj)
|
static PyObject* toPython(const PySide::PyObjectWrapper& obj)
|
||||||
{
|
{
|
||||||
Py_INCREF(obj);
|
Py_INCREF((PyObject*)obj);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue