Utility/OBJParser: Fix mistake

Former-commit-id: dfbb9c42d27863bb1cbe5e1502ee13a77bf2a271 [formerly 5d69c11843ffbe0420045742fbb9e23e2392c9c6]
Former-commit-id: c3ee677975dbe8212f6b4bb9b6dd7fca4a0aa0dc
This commit is contained in:
Lynix 2016-07-08 08:38:34 +02:00
parent 3b57197e44
commit 9cd41a9478
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)
{
int offset;
std::size_t n = 0;
std::size_t p = 0;
std::size_t t = 0;
int n = 0;
int p = 0;
int t = 0;
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
{