Skip to content

Commit

Permalink
Adjust types
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Dec 5, 2024
1 parent bb59a42 commit 5a67588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avogadro/qtgui/meshgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void MeshGenerator::FlyingEdgesAlgorithmPass4()
}

// Add triangles
const char* caseTri = m_caseTriangles[caseId]; // size 16
const signed char* caseTri = m_caseTriangles[caseId]; // size 16
for(int idx = 0; caseTri[idx] != -1; idx += 3)
{

Expand Down
2 changes: 1 addition & 1 deletion avogadro/qtgui/meshgenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class AVOGADROQTGUI_EXPORT MeshGenerator : public QThread
*/
static const unsigned char m_numTris[256];
static const bool m_isCut[256][12];
static const char m_caseTriangles[256][16];
static const signed char m_caseTriangles[256][16];
static const unsigned char m_edgeVertices[12][2];
};

Expand Down

0 comments on commit 5a67588

Please sign in to comment.