Commit cbc0fcc3 authored by hybrid's avatar hybrid

Avoid warning from MSVC

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@854 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f795aa53
...@@ -710,7 +710,7 @@ bool COBJMeshFileLoader::retrieveVertexIndices(c8* pVertexData, s32* pIdx, const ...@@ -710,7 +710,7 @@ bool COBJMeshFileLoader::retrieveVertexIndices(c8* pVertexData, s32* pIdx, const
word[i] = '\0'; word[i] = '\0';
// if no number was found index will become 0 and later on -1 by decrement // if no number was found index will become 0 and later on -1 by decrement
if (word[0]=='-') if (word[0]=='-')
pIdx[idxType] = -core::strtol10(word+1,0)+vbuffer.size(); pIdx[idxType] = vbuffer.size()-core::strtol10(word+1,0);
else else
pIdx[idxType] = core::strtol10(word,0)-1; pIdx[idxType] = core::strtol10(word,0)-1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment