2
0
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:
Todd C. Miller
2023-07-07 15:07:04 -06:00
parent f7801f2160
commit 5768d374cc
29 changed files with 128 additions and 111 deletions

View File

@@ -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