From bdb2ff59676fd0eb6a6ac12deaa538440344cbf1 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 14 Mar 2014 18:31:06 +0000 Subject: [PATCH] fixed: warning, size_t to UInt32 cast. --- src/lib/io/CryptoStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/io/CryptoStream.cpp b/src/lib/io/CryptoStream.cpp index 681f8937..ea9ab7c4 100644 --- a/src/lib/io/CryptoStream.cpp +++ b/src/lib/io/CryptoStream.cpp @@ -77,7 +77,7 @@ CCryptoStream::read(void* out, UInt32 n) m_decryption.processData(static_cast(out), cypher, n); logBuffer("plaintext", static_cast(out), n); delete[] cypher; - return result; + return static_cast(result); } void