diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp index f96cca3..a80969f 100644 --- a/src/osgPlugins/osga/OSGA_Archive.cpp +++ b/src/osgPlugins/osga/OSGA_Archive.cpp @@ -71,7 +71,7 @@ inline std::streampos STREAM_POS( const OSGA_Archive::pos_type pos ) inline OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ) { #if defined(_CPPLIB_VER)//newer Dinkumware(eg: one included with VC++ 2003,2005) - fpos_t position = pos.seekpos(); + fpos_t position = pos; #else // older Dinkumware (eg: one included in Win Server 2003 Platform SDK ) fpos_t position = pos.get_fpos_t(); #endif