Skip to content

Commit

Permalink
fix(ReadExtImpl): use int64_t instead of ssize_t for Windows comp…
Browse files Browse the repository at this point in the history
…atibility
  • Loading branch information
lmichaelis committed Nov 11, 2023
1 parent a1ad893 commit 4129ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ZkReadExtImpl final : public zenkit::Read {
return _m_ext.read(_m_ctx, buf, len);
}

void seek(ssize_t off, zenkit::Whence whence) noexcept override {
void seek(int64_t off, zenkit::Whence whence) noexcept override {
_m_ext.seek(_m_ctx, off, static_cast<ZkWhence>(whence));
}

Expand Down

0 comments on commit 4129ca1

Please sign in to comment.