diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 23:09:05 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 23:09:05 +0200 |
| commit | 5fb06d7fc3a16df2a560021b0a2aacfb8972ba99 (patch) | |
| tree | 29f7b4f0c0271db8e6ff9e2345713ec50230b004 /src | |
| parent | 2a9e59adb5db8630ab7bdbdeedac623e3397989b (diff) | |
fixup! Add .clang-format
Diffstat (limited to 'src')
| -rw-r--r-- | src/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,9 +48,9 @@ class BasicReader : public Reader { std::expected<size_t, ReadError> skip(size_t max) override { off_t ret; if (sizeof(size_t) > sizeof(off_t)) { - // NOLINTNEXTLINE(bugprone-narrowing-conversions) ret = lseek( fd_.get(), + // NOLINTNEXTLINE(bugprone-narrowing-conversions) std::min(static_cast<size_t>(std::numeric_limits<off_t>::max()), max), SEEK_CUR); } else { |
