Changeset 533 for trunk/src/io
- Timestamp:
- 01/12/17 13:16:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/io/c_file_system.cc
r438 r533 48 48 stream* fstream = open( path, "rb" ); 49 49 if ( !fstream ) return const_string(); 50 uint32 size = fstream->size();50 uint32 size = static_cast< uint32 >( fstream->size() ); 51 51 const_string result( nullptr, size ); 52 52 fstream->read( const_cast<char*>( result.data() ), size, 1 );
Note: See TracChangeset
for help on using the changeset viewer.