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.h | |
parent | 3b4a8f1cfa7339f3db9ddd4a7974b8cc30d7ff0b (diff) |
Cleanup: quiet int overflow warnings
Diffstat (limited to 'source/blender/python/mathutils/mathutils.h')
-rw-r--r-- | source/blender/python/mathutils/mathutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index e653b45389b..80130e69785 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -147,10 +147,10 @@ int mathutils_any_to_rotmat(float rmat[3][3], PyObject *value, const char *error Py_hash_t mathutils_array_hash(const float *float_array, size_t array_len); /* zero remaining unused elements of the array */ -#define MU_ARRAY_ZERO (1 << 30) +#define MU_ARRAY_ZERO (1u << 30) /* ignore larger py sequences than requested (just use first elements), * handy when using 3d vectors as 2d */ -#define MU_ARRAY_SPILL (1 << 31) +#define MU_ARRAY_SPILL (1u << 31) #define MU_ARRAY_FLAGS (MU_ARRAY_ZERO | MU_ARRAY_SPILL) |