Skip to content
Snippets Groups Projects
Commit 0f6fab2e authored by John Romein's avatar John Romein
Browse files

bug 225:

Oops!
parent 47669b6e
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ void FileDescriptorBasedStream::read(void *ptr, size_t size)
throw std::logic_error("read: premature end of file");
size -= bytes;
ptr = static_cast<char *>(ptr) + size;
ptr = static_cast<char *>(ptr) + bytes;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment