--- a/Source/FreeImage/PluginRAW.cpp~ 2020-05-08 08:27:31.000000000 -0500 +++ a/Source/FreeImage/PluginRAW.cpp 2020-05-08 08:47:09.011816310 -0500 @@ -63,17 +63,17 @@ } int read(void *buffer, size_t size, size_t count) { return _io->read_proc(buffer, (unsigned)size, (unsigned)count, _handle); } int seek(INT64 offset, int origin) { return _io->seek_proc(_handle, (long)offset, origin); } INT64 tell() { return _io->tell_proc(_handle); } @@ -83,13 +83,13 @@ int get_char() { int c = 0; if(!_io->read_proc(&c, 1, 1, _handle)) return -1; return c; } char* gets(char *buffer, int length) { memset(buffer, 0, length); for(int i = 0; i < length; i++) { if(!_io->read_proc(&buffer[i], 1, 1, _handle)) @@ -104,7 +104,7 @@ std::string buffer; char element = 0; bool bDone = false; do { if(_io->read_proc(&element, 1, 1, _handle) == 1) { switch(element) { @@ -127,7 +127,7 @@ } int eof() { return (_io->tell_proc(_handle) >= _eof); }