git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241db90
)
Fix a C++ warning
author
Volker Lendecke
<vl@samba.org>
Sun, 31 May 2009 09:06:23 +0000
(11:06 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 31 May 2009 10:16:34 +0000
(12:16 +0200)
lib/crypto/sha256.c
patch
|
blob
|
history
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;