diff options
author | Campbell Barton <campbell@blender.org> | 2022-11-08 04:18:52 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-11-08 04:18:52 +0300 |
commit | fddcdcc20c5a2b761a2becccc0a07f5fd8d43e54 (patch) | |
tree | 687c63812d4886f648f46f24fa9af1777744fd76 /source/blender/python/mathutils/mathutils_Euler.c | |
parent | 9d1380e0a9690fb7b3042323ab90a88dba13fcb6 (diff) | |
parent | 8f439bdc2de1f964c8037448796a3f03a9cce4fe (diff) |
Merge branch 'blender-v3.4-release'
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Euler.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Euler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index d72ec5bbc77..551e5d6706d 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -434,13 +434,13 @@ static Py_hash_t Euler_hash(EulerObject *self) * \{ */ /** Sequence length: `len(object)`. */ -static int Euler_len(EulerObject *UNUSED(self)) +static Py_ssize_t Euler_len(EulerObject *UNUSED(self)) { return EULER_SIZE; } /** Sequence accessor (get): `x = object[i]`. */ -static PyObject *Euler_item(EulerObject *self, int i) +static PyObject *Euler_item(EulerObject *self, Py_ssize_t i) { if (i < 0) { i = EULER_SIZE - i; @@ -461,7 +461,7 @@ static PyObject *Euler_item(EulerObject *self, int i) } /** Sequence accessor (set): `object[i] = x`. */ -static int Euler_ass_item(EulerObject *self, int i, PyObject *value) +static int Euler_ass_item(EulerObject *self, Py_ssize_t i, PyObject *value) { float f; |