Skip to content

Commit

Permalink
(Build) Fixed build under Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
innerviewer committed Jun 23, 2024
1 parent da217f1 commit a7ba727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/sha/sha256.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static void sha256_block_data_order(SHA256_CTX *ctx, const void *in,
unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1;
SHA_LONG X[16];
int i;
const unsigned char *data = in;
const unsigned char *data = (unsigned char*)in;
const union {
long one;
char little;
Expand Down
2 changes: 1 addition & 1 deletion include/crypto/md32_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

int HASH_UPDATE(HASH_CTX *c, const void *data_, size_t len)
{
const unsigned char *data = data_;
const unsigned char *data = (unsigned char*)data_;
unsigned char *p;
HASH_LONG l;
size_t n;
Expand Down

0 comments on commit a7ba727

Please sign in to comment.