summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-31 11:06:23 +0200
committerVolker Lendecke <vl@samba.org>2009-05-31 12:16:34 +0200
commit3984b76498aebf593b0a0e94a54b22c4a8401da3 (patch)
treed4805593bece2066d479595799f44311631f5437
parent241db90c310cb930b857d0f8fd20b5428e8ebb68 (diff)
downloadsamba-3984b76498aebf593b0a0e94a54b22c4a8401da3.tar.gz
samba-3984b76498aebf593b0a0e94a54b22c4a8401da3.tar.bz2
samba-3984b76498aebf593b0a0e94a54b22c4a8401da3.zip
Fix a C++ warning
-rw-r--r--lib/crypto/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c
index a2def25814..233abe23f8 100644
--- 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;