# fix VS10 Debug Runtime check Failure due to data loss on type conversion.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1205 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
d9b8db78cd
commit
25fbc9989c
|
@ -1406,7 +1406,7 @@ void ColladaLoader::ConvertPath (aiString& ss)
|
|||
if( *it == '%' )
|
||||
{
|
||||
size_t nbr = strtoul16( ++it, &it);
|
||||
*out++ = nbr;
|
||||
*out++ = (char)(nbr & 0xFF);
|
||||
} else
|
||||
{
|
||||
*out++ = *it++;
|
||||
|
|
Loading…
Reference in New Issue