1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

axtls: fix conversion from size_t to int warning

This commit is contained in:
Daniel Stenberg 2015-02-06 14:04:16 +01:00
parent 600ccb2237
commit d557da5d79

View File

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