# 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
pull/5/head
aramis_acg 2012-03-19 17:33:21 +00:00
parent d9b8db78cd
commit 25fbc9989c
1 changed files with 1 additions and 1 deletions

View File

@ -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++;