Bugfix : Patch for the debian-builds: remove a g++ specific printf-format bug.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1081 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/2/head
kimmi 2011-09-28 08:30:44 +00:00
parent 142814070e
commit 1a6f1cb3e1
1 changed files with 2 additions and 2 deletions

View File

@ -1274,7 +1274,7 @@ int Assimp_Dump (const char* const* params, unsigned int num)
const char* fail = "assimp dump: Invalid number of arguments. " const char* fail = "assimp dump: Invalid number of arguments. "
"See \'assimp dump --help\'\r\n"; "See \'assimp dump --help\'\r\n";
if (num < 1) { if (num < 1) {
printf(fail); printf("%s", fail);
return 1; return 1;
} }
@ -1286,7 +1286,7 @@ int Assimp_Dump (const char* const* params, unsigned int num)
// asssimp dump in out [options] // asssimp dump in out [options]
if (num < 1) { if (num < 1) {
printf(fail); printf("%s", fail);
return 1; return 1;
} }