From be5e5a53b35961e32f21355bd92df7ef0c69d7d5 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 21 Apr 2017 01:03:23 +0200 Subject: [PATCH] Remove useless cast --- src/libsodium/sodium/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c index 0ab8c044..0796e1fe 100644 --- a/src/libsodium/sodium/utils.c +++ b/src/libsodium/sodium/utils.c @@ -125,7 +125,7 @@ sodium_memcmp(const void *const b1_, const void *const b2_, size_t len) (const volatile unsigned char *volatile) b2_; #endif size_t i; - volatile unsigned char d = (unsigned char) 0U; + volatile unsigned char d = 0U; #if HAVE_WEAK_SYMBOLS _sodium_dummy_symbol_to_prevent_memcmp_lto(b1, b2, len);