fix for some build warnings.

This commit is contained in:
2012-06-30 16:56:23 +00:00
parent 69a7e0af02
commit 39ca3146ff
2 changed files with 11 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ static PyObject *pyrna_op_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *
/* keep this last */
else if (PySequence_Check(value)) {
BMElem **elem_array = NULL;
int elem_array_len;
Py_ssize_t elem_array_len;
elem_array = BPy_BMElem_PySeq_As_Array(&bm, value, 0, PY_SSIZE_T_MAX,
&elem_array_len, BM_VERT | BM_EDGE | BM_FACE,