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

bug 225:

more oops!
parent 55d715bf
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ void FileDescriptorBasedStream::write(const void *ptr, size_t size) ...@@ -43,7 +43,7 @@ void FileDescriptorBasedStream::write(const void *ptr, size_t size)
throw SystemCallException("write"); throw SystemCallException("write");
size -= bytes; size -= bytes;
ptr = static_cast<const char *>(ptr) + size; ptr = static_cast<const char *>(ptr) + bytes;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment