diff options
-rw-r--r-- | bin/ykfde.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c index bad974f..e808abe 100644 --- a/bin/ykfde.c +++ b/bin/ykfde.c @@ -197,7 +197,7 @@ int main(int argc, char **argv) { return EXIT_SUCCESS; /* initialize random seed */ - if (getentropy(&seed, 4) != 0) { + if (getentropy(&seed, sizeof(unsigned int)) != 0) { fprintf(stderr, "Initializing random seed failed.\n"); goto out10; } |