From 4129ca10ef2c75fd260d90b9c46c4ef5998434e9 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Sat, 11 Nov 2023 21:25:41 +0100 Subject: [PATCH] fix(ReadExtImpl): use `int64_t` instead of `ssize_t` for Windows compatibility --- src/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stream.cc b/src/Stream.cc index 312ffcb..31e7d71 100644 --- a/src/Stream.cc +++ b/src/Stream.cc @@ -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(whence)); }