]> Creatis software - cpPlugins.git/blobdiff - appli/bash/cpPlugins_HostCreator.cxx
It should now compile on windows...
[cpPlugins.git] / appli / bash / cpPlugins_HostCreator.cxx
index 4fbadeda1c40aad8d92218936dce123fd47b8d93..eb529bd60da8113b65beeb3ac0123fbc0a6ab204 100644 (file)
@@ -26,7 +26,7 @@ void process_header( TInfo& info, const std::string& file_name )
     return;
   std::string buf;
   file_stream.seekg( 0, std::ios::end );
-  buf.reserve( file_stream.tellg( ) );
+  buf.reserve( ( unsigned int )( file_stream.tellg( ) ) );
   file_stream.seekg( 0, std::ios::beg );
   buf.assign(
     ( std::istreambuf_iterator< char >( file_stream ) ),