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
1 changed files with 1 additions and 1 deletions

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