diff options
| author | Dan Engelbrecht <[email protected]> | 2022-03-21 12:42:45 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-03-21 12:42:45 +0100 |
| commit | d35df614722024ccdb746332eceda2b7a6cd0b80 (patch) | |
| tree | 57203b27fd9fd76a62b066140a0a7cf307012eb4 /zen/internalfile.cpp | |
| parent | Missing return statement in websocket.h (diff) | |
| download | archived-zen-d35df614722024ccdb746332eceda2b7a6cd0b80.tar.xz archived-zen-d35df614722024ccdb746332eceda2b7a6cd0b80.zip | |
clang-format
Diffstat (limited to 'zen/internalfile.cpp')
| -rw-r--r-- | zen/internalfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/internalfile.cpp b/zen/internalfile.cpp index b3b587a41..2ade86e29 100644 --- a/zen/internalfile.cpp +++ b/zen/internalfile.cpp @@ -262,9 +262,9 @@ InternalFile::Read(void* Data, uint64_t Size, uint64_t Offset) HRESULT hRes = m_File.Read(Data, gsl::narrow<DWORD>(Size), &ovl); Success = SUCCEEDED(hRes); #else - int Fd = int(intptr_t(m_File)); - int BytesRead = pread(Fd, Data, Size, Offset); - Success = (BytesRead > 0); + int Fd = int(intptr_t(m_File)); + int BytesRead = pread(Fd, Data, Size, Offset); + Success = (BytesRead > 0); #endif if (Success) |