Skip to content

Commit

Permalink
axtls: fix conversion from size_t to int warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Feb 6, 2015
1 parent 600ccb2 commit d557da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vtls/axtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d557da5

Please sign in to comment.