diff options
Diffstat (limited to 'tests/helpers/c/prng.c')
| -rw-r--r-- | tests/helpers/c/prng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/c/prng.c b/tests/helpers/c/prng.c index c72615475b..e4241aa44f 100644 --- a/tests/helpers/c/prng.c +++ b/tests/helpers/c/prng.c @@ -24,7 +24,7 @@ struct prng { struct prng *prng_new(unsigned long long seed) { - struct prng *rv = calloc(sizeof(*rv), 1); + struct prng *rv = calloc(1, sizeof(*rv)); assert(rv); rv->state = seed; |
