Ignore:
Timestamp:
01/12/17 14:41:17 (8 years ago)
Author:
epyon
Message:

CONTINUED:

  • 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/engine/program_manager.cc

    r505 r534  
    5050        stream* fstream = open_stream( fs, path );
    5151        if ( !fstream ) return const_string();
    52         uint32 size = fstream->size();
     52        uint32 size = static_cast< uint32 >( fstream->size() );
    5353        const_string result( nullptr, size );
    5454        fstream->read( const_cast<char*>( result.data() ), size, 1 );
Note: See TracChangeset for help on using the changeset viewer.