Utility/OBJParser: Prepare for saving

Former-commit-id: 245d757401397e329b906a4f48c913b434830475 [formerly da4af71db1570c669e82ab92c0a8a7a6301a5809]
Former-commit-id: 5b14b24fe157a1411a9f76d6374c18be82e254de
This commit is contained in:
Lynix 2016-07-08 08:34:45 +02:00
parent fa1dae35f3
commit 1d193ec74a
1 changed files with 3 additions and 3 deletions

View File

@ -125,9 +125,9 @@ namespace Nz
for (unsigned int i = 0; i < vertexCount; ++i) for (unsigned int i = 0; i < vertexCount; ++i)
{ {
int offset; int offset;
int n = 0; std::size_t n = 0;
int p = 0; std::size_t p = 0;
int t = 0; std::size_t t = 0;
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3) if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
{ {