From e0e9ec720bc0eae2f5ed620d920a52cd046d84df Mon Sep 17 00:00:00 2001 From: Matthias Moulin Date: Thu, 16 Jan 2020 18:24:06 +0100 Subject: [PATCH] Suppressed MSVC++ warning C4267 '=': conversion from 'size_t' to 'ai_uint32', possible loss of data --- code/CSM/CSMLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CSM/CSMLoader.cpp b/code/CSM/CSMLoader.cpp index 9dbb38467..7fea06727 100644 --- a/code/CSM/CSMLoader.cpp +++ b/code/CSM/CSMLoader.cpp @@ -178,7 +178,7 @@ void CSMImporter::InternReadFile( const std::string& pFile, *ot++ = *buffer++; *ot = '\0'; - nda->mNodeName.length = (size_t)(ot-nda->mNodeName.data); + nda->mNodeName.length = (ai_uint32)(ot-nda->mNodeName.data); } anim->mNumChannels = static_cast(anims_temp.size());