Commit b0464c6b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Small fix for Mingw64 compilation

parent 4164da80
......@@ -303,7 +303,7 @@ ssize_t pread (int fd, void *buf, size_t count, off_t offset)
if (handle == INVALID_HANDLE_VALUE)
return -1;
OVERLAPPED olap = { .Offset = offset, .OffsetHigh = (offset >> 32), };
OVERLAPPED olap; olap.Offset = offset; olap.OffsetHigh = (offset >> 32);
DWORD written;
/* This braindead API will override the file pointer even if we specify
* an explicit read offset... So do not expect this to mix well with
......
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