From 561eba97a978bb1052f3ed3c92c5fb61f8c94541 Mon Sep 17 00:00:00 2001 From: Joannis Orlandos Date: Wed, 18 Jan 2023 14:06:29 +0100 Subject: [PATCH] Fix a previously introduces compilation issue --- Sources/Citadel/SFTP/Client/SFTPFile.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Citadel/SFTP/Client/SFTPFile.swift b/Sources/Citadel/SFTP/Client/SFTPFile.swift index eefe35e..bbca13d 100644 --- a/Sources/Citadel/SFTP/Client/SFTPFile.swift +++ b/Sources/Citadel/SFTP/Client/SFTPFile.swift @@ -111,7 +111,7 @@ public final class SFTPFile { length: UInt32(consumed) ) - readableBytes -= data.readableBytes + readableBytes -= UInt64(data.readableBytes) buffer.writeBuffer(&data) } } else {