diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-02 05:53:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-02 05:53:12 +0300 |
commit | a4f55617d1ae803efa7266ae0a3746b79dfb1f3a (patch) | |
tree | c4217711e6e64ab9228a96020f651dec8d60f580 /source/blender/python/mathutils/mathutils.c | |
parent | 3b4a8f1cfa7339f3db9ddd4a7974b8cc30d7ff0b (diff) |
Cleanup: quiet int overflow warnings
Diffstat (limited to 'source/blender/python/mathutils/mathutils.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index ec249e823e4..16d8d6477a5 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -113,7 +113,7 @@ Py_hash_t mathutils_array_hash(const float *array, size_t array_len) /* helper function returns length of the 'value', -1 on error */ int mathutils_array_parse(float *array, int array_min, int array_max, PyObject *value, const char *error_prefix) { - const int flag = array_max; + const unsigned int flag = array_max; int size; array_max &= ~MU_ARRAY_FLAGS; |