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

pull/2967/head
Marc-Antoine Lortie 2020-01-28 11:06:17 -05:00
parent 21edb13ff8
commit a328c18286
1 changed files with 1 additions and 1 deletions

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 (...) {