From 1706d63d65f39e71fc98e7541c94991b7bb9adac Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 26 Apr 2013 21:48:05 -0700 Subject: [PATCH] More Visual C++ compat --- src/libsodium/sodium/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c index 784a3a4f..bf365ea3 100644 --- a/src/libsodium/sodium/utils.c +++ b/src/libsodium/sodium/utils.c @@ -30,8 +30,8 @@ sodium_memzero(void * const pnt, const size_t len) int sodium_memcmp(const void * const b1_, const void * const b2_, size_t size) { - const unsigned char *b1 = b1_; - const unsigned char *b2 = b2_; + const unsigned char *b1 = (const unsigned char *) b1_; + const unsigned char *b2 = (const unsigned char *) b2_; size_t i; unsigned char d = (unsigned char) 0U;