From b6eab4a93231c778e2c4a1aa294ee203003ab835 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 23 Aug 2024 14:49:27 -0500 Subject: [PATCH] fix --- .../src/drives/winfsp/remotewinfsp/remote_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp index 0a07c0fa..19a835a9 100644 --- a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp +++ b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp @@ -492,7 +492,7 @@ auto remote_server::fuse_read( res = -1; errno = ERANGE; } else if ((res = has_compat_open_info(handle, EBADF)) == 0) { - res = static_cast(_lseeki64( + res = static_cast>(_lseeki64( static_cast(handle), static_cast<__int64>(read_offset), SEEK_SET)); if (res != -1) { data.resize(read_size); @@ -548,7 +548,7 @@ auto remote_server::fuse_write( } else { res = has_compat_open_info(handle, EBADF); if (res == 0) { - res = static_cast( + res = static_cast>( _lseeki64(static_cast(handle), static_cast<__int64>(write_offset), SEEK_SET)); if (res != -1) {