Cleanup: use function style casts

This commit is contained in:
Campbell Barton
2023-07-31 19:57:28 +10:00
parent 90e123c746
commit 6d2326dabf
21 changed files with 41 additions and 41 deletions

View File

@@ -2693,8 +2693,8 @@ static int Vector_swizzle_set(VectorObject *self, PyObject *value, void *closure
size_from = axis_from;
}
else if ((void)PyErr_Clear(), /* run but ignore the result */
(size_from = (size_t)mathutils_array_parse(
vec_assign, 2, 4, value, "Vector.**** = swizzle assignment")) == size_t(-1))
(size_from = size_t(mathutils_array_parse(
vec_assign, 2, 4, value, "Vector.**** = swizzle assignment"))) == size_t(-1))
{
return -1;
}