X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_apple_csp/lib/BlockCryptor.cpp?ds=inline diff --git a/libsecurity_apple_csp/lib/BlockCryptor.cpp b/libsecurity_apple_csp/lib/BlockCryptor.cpp index 85d3bbbd..23ab8203 100644 --- a/libsecurity_apple_csp/lib/BlockCryptor.cpp +++ b/libsecurity_apple_csp/lib/BlockCryptor.cpp @@ -318,7 +318,7 @@ void BlockCryptor::update( /* * en/decrypt even blocks in (remaining) inp. */ - unsigned leftOver = uInSize % mInBlockSize; + size_t leftOver = uInSize % mInBlockSize; if((leftOver == 0) && needLeftOver) { /* * Even blocks coming in, but we really need to leave some data