]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_apple_csp/lib/BlockCryptor.cpp
Security-55471.14.8.tar.gz
[apple/security.git] / libsecurity_apple_csp / lib / BlockCryptor.cpp
index 85d3bbbd2865f7a667e86ed5b9d869dfcaca9967..23ab820315dad42124ef5b837a9668eef3a1f0df 100644 (file)
@@ -318,7 +318,7 @@ void BlockCryptor::update(
        /* 
         * en/decrypt even blocks in (remaining) inp.  
         */
        /* 
         * 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
        if((leftOver == 0) && needLeftOver) {
                /* 
                 * Even blocks coming in, but we really need to leave some data