diff --git a/alib2str/src/core/stringApi.cpp b/alib2str/src/core/stringApi.cpp index 78910e8ec849733ef080ca5730412576cbab56b6..923aa7da42e97de60eaddc3e37c74a1d23c6444e 100644 --- a/alib2str/src/core/stringApi.cpp +++ b/alib2str/src/core/stringApi.cpp @@ -52,7 +52,7 @@ object::Object stringApi < object::Object >::parse ( ext::istream & input ) { return entry.first ( input ); }; - int pos = input.tellg(); + std::streamoff pos = input.tellg(); auto callback = find_if ( parseFunctions ( ).begin ( ), parseFunctions ( ).end ( ), lambda ); if ( callback == parseFunctions ( ).end ( ) ) diff --git a/alib2str/src/registry/StringReaderRegistry.cpp b/alib2str/src/registry/StringReaderRegistry.cpp index 19dd8f4f80914d40323d7a394793ee060bb76b16..c10257a83671ca35e5981bb85c163a885fa4d31e 100644 --- a/alib2str/src/registry/StringReaderRegistry.cpp +++ b/alib2str/src/registry/StringReaderRegistry.cpp @@ -54,7 +54,7 @@ std::shared_ptr < abstraction::OperationAbstraction > StringReaderRegistry::getA const auto & entries = entryIterator->second; - int pos = ss.tellg(); + std::streamoff pos = ss.tellg(); typename ext::list < std::pair < std::function < bool ( ext::istream & ) >, std::unique_ptr < Entry > > >::const_iterator callback = find_if ( entries.begin ( ), entries.end ( ), lambda ); if ( callback == entries.end ( ) )