+ fix build failure, fix warning
This commit is contained in:
parent
b5b6d49d2e
commit
00d3a5d619
|
@ -131,7 +131,7 @@ DocumentObjectExecReturn *FeatureTest::execute(void)
|
|||
case 3: *i=0;printf("%i",*i);break; // seg-vault
|
||||
case 4: j=0; printf("%i",1/j); break; // int devision by zero
|
||||
case 5: f=0.0; printf("%f",1/f); break; // float devision by zero
|
||||
case 6: s = malloc(3600000000);break; // out-of-memory
|
||||
case 6: s = malloc(3600000000ul);break; // out-of-memory
|
||||
}
|
||||
|
||||
ExecCount.setValue(ExecCount.getValue() + 1);
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#ifndef _PreComp_
|
||||
# include <qstatusbar.h>
|
||||
# include <qstring.h>
|
||||
# include <QGLWidget>
|
||||
# include <Inventor/details/SoFaceDetail.h>
|
||||
# include <Inventor/details/SoLineDetail.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user