git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a C++ warning
[samba.git]
/
lib
/
crypto
/
sha256.c
diff --git
a/lib/crypto/sha256.c
b/lib/crypto/sha256.c
index a2def25814824f4dc65ff03bd142e4114d981606..233abe23f8dc6c7aa0085a7e30ca977b0f1ac48b 100644
(file)
--- a/
lib/crypto/sha256.c
+++ b/
lib/crypto/sha256.c
@@
-189,7
+189,7
@@
struct x32{
void
SHA256_Update (SHA256_CTX *m, const void *v, size_t len)
{
- const unsigned char *p = v;
+ const unsigned char *p =
(const unsigned char *)
v;
size_t old_sz = m->sz[0];
size_t offset;