diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c index 1e511a2c72360e897ad087724f04e79a62d7beed..bcfe62b4dc85d519cb2b130379edc867bd19c95f 100644 --- a/lib/vtls/axtls.c +++ b/lib/vtls/axtls.c @@ -671,7 +671,7 @@ int Curl_axtls_random(struct SessionHandle *data, * race condition is that some global resources will leak. */ RNG_initialize(); } - get_random(length, entropy); + get_random((int)length, entropy); return 0; }