Changeset 487 for trunk/src/io/c_stream.cc
- Timestamp:
- 03/08/16 08:05:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/io/c_stream.cc
r486 r487 50 50 { 51 51 NV_ASSERT( buffer != nullptr && max_count != 0, "Bad parameter passed to write!" ); 52 char* result = ::fgets( buffer, max_count, reinterpret_cast<FILE*>( m_file ) );52 char* result = ::fgets( buffer, static_cast<int>( max_count ), reinterpret_cast<FILE*>( m_file ) ); 53 53 if ( !result ) return false; 54 54 return true;
Note: See TracChangeset
for help on using the changeset viewer.