Not sure about this one... seems to be needed to make 64 bit release
[openssl.git] / crypto / rand / md_rand.c
index e4a24c26db86a77e734f6e0dbb56b21f5ce62baf..cac3e8be61aa1b50868edc21f59ee060b933dcd6 100644 (file)
@@ -190,7 +190,7 @@ static void ssleay_rand_cleanup(void)
 static void ssleay_rand_add(const void *buf, size_t num, double add)
        {
        int i,st_idx;
-       size_t j,k;
+       ssize_t j,k;
        long md_c[2];
        unsigned char local_md[MD_DIGEST_LENGTH];
        EVP_MD_CTX m;
@@ -325,7 +325,7 @@ static int ssleay_rand_bytes(unsigned char *buf, size_t num)
        {
        static volatile int stirred_pool = 0;
        int i,st_num,st_idx;
-       size_t j,k;
+       ssize_t j,k;
        int num_ceil;
        int ok;
        long md_c[2];