Pivy: fix several warnings

Warnings like:
    warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]

All was due to small defined size of the onstack array.
This commit is contained in:
Alexander Golubev 2015-05-17 16:43:57 +03:00 committed by wmayer
parent 554d8f4078
commit 4b992c27bb

View File

@ -343959,7 +343959,7 @@ fail:
SWIGINTERN PyObject *_wrap_new_SbImage(PyObject *self, PyObject *args) {
int argc;
PyObject *argv[2];
PyObject *argv[3];
int ii;
if (!PyTuple_Check(args)) SWIG_fail;
@ -344142,7 +344142,7 @@ fail:
SWIGINTERN PyObject *_wrap_SbImage_setValue(PyObject *self, PyObject *args) {
int argc;
PyObject *argv[3];
PyObject *argv[4];
int ii;
if (!PyTuple_Check(args)) SWIG_fail;
@ -344310,7 +344310,7 @@ fail:
SWIGINTERN PyObject *_wrap_SbImage_setValuePtr(PyObject *self, PyObject *args) {
int argc;
PyObject *argv[3];
PyObject *argv[4];
int ii;
if (!PyTuple_Check(args)) SWIG_fail;