From 47836d23e7a4dc2e03dbea64aff1346eb9f6c04b Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Fri, 15 Jul 2011 21:50:32 +0000 Subject: [PATCH] # fix vc10 compile warning git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1042 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ColladaExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index f7dc569dd..a9d4c295b 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -59,7 +59,7 @@ void ExportSceneCollada(const char* pFile,IOSystem* pIOSystem, const aiScene* pS boost::scoped_ptr outfile (pIOSystem->Open(pFile,"wt")); // XXX maybe use a small wrapper around IOStream that behaves like std::stringstream in order to avoid the extra copy. - outfile->Write( iDoTheExportThing.mOutput.str().c_str(), iDoTheExportThing.mOutput.tellp(),1); + outfile->Write( iDoTheExportThing.mOutput.str().c_str(), static_cast(iDoTheExportThing.mOutput.tellp()),1); } } // end of namespace Assimp