Cleanup: quiet int overflow warnings

This commit is contained in:
2015-08-02 12:53:12 +10:00
parent 3b4a8f1cfa
commit a4f55617d1
2 changed files with 3 additions and 3 deletions

View File

@@ -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;