mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Remove useless cast
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user