mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
libsudo_util: silence most -Wconversion warnings.
This commit is contained in:
@@ -146,7 +146,7 @@ sudo_getentropy(void *buf, size_t len)
|
||||
return (ret);
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
if (RAND_bytes(buf, len) == 1)
|
||||
if (RAND_bytes(buf, (int)len) == 1)
|
||||
return (0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user