1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhedron.cxx

This commit is contained in:
abv 2018-07-26 07:48:56 +03:00 committed by bugmaster
parent 1f26f80bb7
commit 9dc6c9b8d4

View File

@ -855,7 +855,7 @@ Standard_Boolean IntPatch_InterferencePolyhedron::TangentZoneValue
// Arrays are increased to eliminate gcc warning.
Standard_Real parO[10], parT[10];
Standard_Integer nbNoInserted=0;
Standard_Integer piToInsert[10];
Standard_Integer piToInsert[17]; // for GCC 4.9
for (nob=0; nob<3; nob++) {
//processing of the object segment P[nob], P[nob+1]