Changeset 198 for trunk/src/io/c_stream.cc
- Timestamp:
- 08/11/13 17:19:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/io/c_stream.cc
r125 r198 46 46 } 47 47 48 bool c_stream::seek( size_toffset, origin orig )48 bool c_stream::seek( long offset, origin orig ) 49 49 { 50 50 return m_file != nullptr && ( ::fseek( (FILE*)m_file, (long)offset, static_cast<int>(orig) ) == 0 ); … … 53 53 size_t c_stream::tell() 54 54 { 55 return m_file != nullptr ? ::ftell( (FILE*)m_file) : 0;55 return m_file != nullptr ? static_cast< size_t >( ::ftell( (FILE*)m_file ) ) : 0; 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.