Cleanup: replace C-style casts with functional casts for numeric types

This commit is contained in:
2022-09-25 18:33:28 +10:00
parent c7b247a118
commit f68cfd6bb0
310 changed files with 1541 additions and 1542 deletions
@@ -278,7 +278,7 @@ static PyObject *Interface1D_length_2d_get(BPy_Interface1D *self, void *UNUSED(c
if (PyErr_Occurred()) {
return nullptr;
}
return PyFloat_FromDouble((double)length);
return PyFloat_FromDouble(double(length));
}
PyDoc_STRVAR(Interface1D_time_stamp_doc,