diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 07:38:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 07:40:05 +0300 |
commit | 2a6df7dfe5ae9c25780166771c56ff921cc90f63 (patch) | |
tree | ad638ee71b52f5915b937bf538051f49b0ac120b /source/blender/python/generic/py_capi_utils.c | |
parent | 1e3ffd1f872b1a52a5c392b135c29ae71744137d (diff) |
Cleanup: use named unsigned types in the Python API
Diffstat (limited to 'source/blender/python/generic/py_capi_utils.c')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 8ea627589f2..35fff8699d1 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -198,8 +198,8 @@ PyObject *PyC_Tuple_PackArray_Bool(const bool *array, uint len) */ void PyC_Tuple_Fill(PyObject *tuple, PyObject *value) { - unsigned int tot = PyTuple_GET_SIZE(tuple); - unsigned int i; + uint tot = PyTuple_GET_SIZE(tuple); + uint i; for (i = 0; i < tot; i++) { PyTuple_SET_ITEM(tuple, i, value); @@ -209,8 +209,8 @@ void PyC_Tuple_Fill(PyObject *tuple, PyObject *value) void PyC_List_Fill(PyObject *list, PyObject *value) { - unsigned int tot = PyList_GET_SIZE(list); - unsigned int i; + uint tot = PyList_GET_SIZE(list); + uint i; for (i = 0; i < tot; i++) { PyList_SET_ITEM(list, i, value); |