Skip to content

Commit

Permalink
refactor: Drop unused cast
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jul 24, 2023
1 parent c545fdc commit 4f8c5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hash_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void secp256k1_sha256_write(secp256k1_sha256 *hash, const unsigned char *
}
if (len) {
/* Fill the buffer with what remains. */
memcpy(((unsigned char*)hash->buf) + bufsize, data, len);
memcpy(hash->buf + bufsize, data, len);
}
}

Expand Down

0 comments on commit 4f8c5bd

Please sign in to comment.