Base: Standardize on Py::Long type for Python bindings.
This commit is contained in:
@@ -584,7 +584,7 @@ Py::Object PyResource::value(const Py::Tuple& args)
|
||||
item = Py::Long(static_cast<unsigned long>(v.toUInt()));
|
||||
break;
|
||||
case QMetaType::Int:
|
||||
item = Py::Int(v.toInt());
|
||||
item = Py::Long(v.toInt());
|
||||
break;
|
||||
default:
|
||||
item = Py::String("");
|
||||
|
||||
Reference in New Issue
Block a user