mirror of
https://codeberg.org/scip/diceware.git
synced 2025-12-17 19:00:57 +01:00
fix malloc size
This commit is contained in:
@@ -83,7 +83,7 @@ char **fetch_dict(char *dictfile) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
words = malloc(66666 * sizeof(char *));
|
words = malloc(66667 * sizeof(char *));
|
||||||
digits = malloc(5 * sizeof(int));
|
digits = malloc(5 * sizeof(int));
|
||||||
jump = rand_lim(32);
|
jump = rand_lim(32);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user