Utility/OBJParser: Prepare for saving

Former-commit-id: 4a1ea0666302052899dac99549d3f51cb9748178 [formerly d904abd5862d5f5712b7327522e374b8f620dce8]
Former-commit-id: 71c511e8aec3c20258e01008ea3a8cde4bbee28e
This commit is contained in:
Lynix 2016-07-08 08:34:45 +02:00
parent c6ea158b83
commit 3b47180be2
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;
int n = 0;
int p = 0;
int t = 0;
std::size_t n = 0;
std::size_t p = 0;
std::size_t t = 0;
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
{