Change cast in function calls to that which is, I think, the right
authorBodo Möller <bodo@openssl.org>
Fri, 14 May 1999 11:47:29 +0000 (11:47 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 14 May 1999 11:47:29 +0000 (11:47 +0000)
one for those functions (is it?).

crypto/md32_common.h

index 977ea8e..4270862 100644 (file)
@@ -486,7 +486,7 @@ void HASH_UPDATE (HASH_CTX *c, const unsigned char *data, unsigned long len)
 #endif
 #if defined(HASH_BLOCK_DATA_ORDER)
                        {
-                       HASH_BLOCK_DATA_ORDER (c,(HASH_LONG *)data,sw);
+                       HASH_BLOCK_DATA_ORDER(c,(const unsigned char *)data,sw);
                        sw*=HASH_CBLOCK;
                        data+=sw;
                        len-=sw;
@@ -524,7 +524,7 @@ void HASH_TRANSFORM (HASH_CTX *c, unsigned char *data)
 #endif
 #endif
 #if defined(HASH_BLOCK_DATA_ORDER)
-       HASH_BLOCK_DATA_ORDER (c,(HASH_LONG *)data,1);
+       HASH_BLOCK_DATA_ORDER (c,(const unsigned char *)data,1);
 #endif
        }