diff options
Diffstat (limited to 'source/blender/python/mathutils/mathutils_kdtree.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_kdtree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/mathutils/mathutils_kdtree.c b/source/blender/python/mathutils/mathutils_kdtree.c index c6383f23d60..ec35d25bdd5 100644 --- a/source/blender/python/mathutils/mathutils_kdtree.c +++ b/source/blender/python/mathutils/mathutils_kdtree.c @@ -38,9 +38,9 @@ typedef struct { PyObject_HEAD KDTree_3d *obj; - unsigned int maxsize; - unsigned int count; - unsigned int count_balance; /* size when we last balanced */ + uint maxsize; + uint count; + uint count_balance; /* size when we last balanced */ } PyKDTree; /* -------------------------------------------------------------------- */ @@ -92,7 +92,7 @@ static PyObject *kdtree_nearest_to_py_and_check(const KDTreeNearest_3d *nearest) static int PyKDTree__tp_init(PyKDTree *self, PyObject *args, PyObject *kwargs) { - unsigned int maxsize; + uint maxsize; const char *keywords[] = {"size", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "I:KDTree", (char **)keywords, &maxsize)) { @@ -273,7 +273,7 @@ static PyObject *py_kdtree_find_n(PyKDTree *self, PyObject *args, PyObject *kwar PyObject *py_co; float co[3]; KDTreeNearest_3d *nearest; - unsigned int n; + uint n; int i, found; const char *keywords[] = {"co", "n", NULL}; |