Changeset 533 for trunk/src/io


Ignore:
Timestamp:
01/12/17 13:16:48 (8 years ago)
Author:
epyon
Message:
  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/io/c_file_system.cc

    r438 r533  
    4848        stream* fstream = open( path, "rb" );
    4949        if ( !fstream ) return const_string();
    50         uint32 size = fstream->size();
     50        uint32 size = static_cast< uint32 >( fstream->size() );
    5151        const_string result( nullptr, size );
    5252        fstream->read( const_cast<char*>( result.data() ), size, 1 );
Note: See TracChangeset for help on using the changeset viewer.