Utility/OBJParser: Prepare for saving

Former-commit-id: 5c22f8c9e0f3ab3c336598f24c1fbe8359eec9d9 [formerly e600681b453f363027e0a97a5625c7f8c6592f90]
Former-commit-id: 1eee39365464d38bfe13131b89c87660cfb05273
This commit is contained in:
Lynix 2016-07-08 08:34:45 +02:00
parent 970416b95e
commit e4bdb3cdcb
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)
{ {