Cleanup: use 'u' prefixed integer types for brevity & cast style

To use function style cast '(unsigned char)x' can't be replaced by
'unsigned char(x)'.
This commit is contained in:
Campbell Barton
2022-09-25 17:04:52 +10:00
parent c9e35c2ced
commit 891949cbb4
226 changed files with 1385 additions and 1537 deletions

View File

@@ -236,7 +236,7 @@ PyObject *BPy_FEdge_from_FEdge(FEdge &fe)
return py_fe;
}
PyObject *BPy_Nature_from_Nature(unsigned short n)
PyObject *BPy_Nature_from_Nature(ushort n)
{
PyObject *args = PyTuple_New(1);
PyTuple_SET_ITEM(args, 0, PyLong_FromLong(n));