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:
Hugo Parente Lima 2010-07-09 15:22:53 -03:00 • committed by Luciano Wolf
commit d351f6a015

View file

@ -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;
} }
}; };