Fixed "printf format not a literal error" in build.

This commit is contained in:
Marc-Antoine Lortie
2020-01-28 11:06:17 -05:00
parent 21edb13ff8
commit a328c18286

View File

@@ -750,7 +750,7 @@ int Assimp_Dump (const char* const* params, unsigned int num)
scene, shortened, compressed);
}
catch (const std::exception& e) {
printf(("assimp dump: " + std::string(e.what())).c_str());
printf("%s", ("assimp dump: " + std::string(e.what())).c_str());
return AssimpCmdError::ExceptionWasRaised;
}
catch (...) {