Skip to content
Snippets Groups Projects
Commit 0a34de46 authored by Per Hedbor's avatar Per Hedbor
Browse files

Fixed function signature for random_func_wrapper.

This actually changes the calling conventions, and on stack
based machines it could make a significant difference if
size_t and unsigned int does not have the same bytesize.
parent fa45bfdb
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ DECLARATIONS ...@@ -26,7 +26,7 @@ DECLARATIONS
/*! @module Nettle /*! @module Nettle
*/ */
void random_func_wrapper(void *f, size_t num, uint8_t *out) static void random_func_wrapper(void *f, unsigned int num, uint8_t *out)
{ {
push_int(num); push_int(num);
apply_svalue((struct svalue *)f, 1); apply_svalue((struct svalue *)f, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment