# 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-9d2fd5bffc1f
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user