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:
parent
554d8f4078
commit
4b992c27bb
6
src/3rdParty/Pivy-0.5/coin_wrap.cpp
vendored
6
src/3rdParty/Pivy-0.5/coin_wrap.cpp
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user