Kaynağa Gözat

Merge pull request #4678 from villevoutilainen/master

Use unqualified uint32_t everywhere in FBXBinaryTokenizer
Kim Kulling 3 yıl önce
ebeveyn
işleme
bd64cc88df
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      code/AssetLib/FBX/FBXBinaryTokenizer.cpp

+ 1 - 1
code/AssetLib/FBX/FBXBinaryTokenizer.cpp

@@ -472,7 +472,7 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, size_t length)
     }
     }
     catch (const DeadlyImportError& e)
     catch (const DeadlyImportError& e)
     {
     {
-        if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {
+        if (!is64bits && (length > std::numeric_limits<uint32_t>::max())) {
             throw DeadlyImportError("The FBX file is invalid. This may be because the content is too big for this older version (", ai_to_string(version), ") of the FBX format. (", e.what(), ")");
             throw DeadlyImportError("The FBX file is invalid. This may be because the content is too big for this older version (", ai_to_string(version), ") of the FBX format. (", e.what(), ")");
         }
         }
         throw;
         throw;