warning C4244: 'initializing' : conversion from 'std::streamoff' to 'long', possible loss of data