Fix Warnings

Add Time in Step File
This commit is contained in:
Madrich
2015-05-01 22:19:40 +02:00
parent ca8a3909be
commit 58a72d9302
3 changed files with 10 additions and 9 deletions

View File

@@ -111,7 +111,7 @@ XFileExporter::XFileExporter(const aiScene* pScene, IOSystem* pIOSystem, const s
mSceneOwned = false;
// set up strings
endstr = "\n";
endstr = "\n";
// start writing
WriteFile();
@@ -509,7 +509,7 @@ std::string XFileExporter::toXFileString(aiString &name)
{
std::string pref = "NN_"; // node name prefix to prevent unexpected start of string
std::string str = pref + std::string(name.C_Str());
for (int i=0; i<str.length(); ++i)
for (int i=0; i < (int) str.length(); ++i)
{
if ((str[i] >= 48 && str[i] <= 57) || // 0-9
(str[i] >= 65 && str[i] <= 90) || // A-Z