Commit 46f41dca authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 3

Fix doVecOperation in the SysUio portability header

Summary: Apparently I failed to accurately transfer this particular change to fbcode, which meant it didn't actually compile on Windows.

Reviewed By: yfeldblum

Differential Revision: D3347976

fbshipit-source-id: 775682f10ab68672f6463ccc69a222ae0a52a097
parent 6a6efad5
......@@ -102,7 +102,7 @@ static ssize_t doVecOperation(int fd, const iovec* iov, int count) {
curLen = iov[curIov].iov_len;
}
} else {
curBase += (void*)((char*)curBase + res);
curBase = (void*)((char*)curBase + res);
curLen -= res;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment