package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
598 B
13 lines
598 B
diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp |
|
index b9f518a..19186a7 100644 |
|
--- a/src/osgPlugins/osga/OSGA_Archive.cpp |
|
+++ b/src/osgPlugins/osga/OSGA_Archive.cpp |
|
@@ -77,7 +77,7 @@ inline OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ) |
|
#else // older Dinkumware (eg: one included in Win Server 2003 Platform SDK ) |
|
fpos_t position = pos.get_fpos_t(); |
|
#endif |
|
- std::streamoff offset = pos.operator std::streamoff( ) - _FPOSOFF( position ); |
|
+ std::streamoff offset = 0; |
|
|
|
return OSGA_Archive::pos_type( position + offset ); |
|
}
|
|
|