Skip to content
Snippets Groups Projects
Commit 565db22b authored by Sam Jenkins's avatar Sam Jenkins
Browse files

Re #23612 attempted to fix warnings

parent 2fc63510
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ bool LoadBinStl::isBinarySTL() { ...@@ -13,7 +13,7 @@ bool LoadBinStl::isBinarySTL() {
// each triangle is 50 bytes // each triangle is 50 bytes
const uint32_t SIZE_OF_TRIANGLE = 50; const uint32_t SIZE_OF_TRIANGLE = 50;
Poco::File stlFile = Poco::File(m_filename); Poco::File stlFile = Poco::File(m_filename);
unsigned long fileSize = stlFile.getSize(); auto fileSize = stlFile.getSize();
if (fileSize < 84) { if (fileSize < 84) {
// File is smaller than header plus number of triangles, cannot be binary // File is smaller than header plus number of triangles, cannot be binary
// format stl // format stl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment