File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ void PseudoOpenFile::WaitAll(IoErrorHandler &handler) {
160
160
handler.Crash (" %s: unsupported" , RT_PRETTY_FUNCTION);
161
161
}
162
162
163
- Position PseudoOpenFile::InquirePosition () const {
163
+ Position PseudoOpenFile::InquirePosition (FileOffset ) const {
164
164
Terminator{__FILE__, __LINE__}.Crash (" %s: unsupported" , RT_PRETTY_FUNCTION);
165
165
}
166
166
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class PseudoOpenFile {
90
90
FileOffset, const char *, std::size_t , IoErrorHandler &);
91
91
RT_API_ATTRS void Wait (int id, IoErrorHandler &);
92
92
RT_API_ATTRS void WaitAll (IoErrorHandler &);
93
- RT_API_ATTRS Position InquirePosition () const ;
93
+ RT_API_ATTRS Position InquirePosition (FileOffset ) const ;
94
94
};
95
95
#endif // defined(RT_USE_PSEUDO_FILE_UNIT)
96
96
@@ -200,8 +200,8 @@ class ExternalFileUnit : public ConnectionState,
200
200
RT_API_ATTRS int GetAsynchronousId (IoErrorHandler &);
201
201
RT_API_ATTRS bool Wait (int );
202
202
RT_API_ATTRS Position InquirePosition () const {
203
- return OpenFile ::InquirePosition (
204
- static_cast <FileOffset >(frameOffsetInFile_ + recordOffsetInFrame_));
203
+ return OpenFileClass ::InquirePosition (
204
+ static_cast <std:: int64_t >(frameOffsetInFile_ + recordOffsetInFrame_));
205
205
}
206
206
207
207
private:
You can’t perform that action at this time.
0 commit comments