NLA SoC: Merge from 2.5
21210 to 21300 Note to self: the next merge will be messy again, since 2 commits occurred this one was complete
This commit is contained in:
@@ -330,7 +330,7 @@ void CIntValue::SetValue(CValue* newval)
|
||||
PyObject* CIntValue::ConvertValueToPython()
|
||||
{
|
||||
if((m_int > INT_MIN) && (m_int < INT_MAX))
|
||||
return PyInt_FromLong(m_int);
|
||||
return PyLong_FromSsize_t(m_int);
|
||||
else
|
||||
return PyLong_FromLongLong(m_int);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user